overleaf/services/web/public/stylesheets/app/editor/binary-file.less
metbosch 43d723bcfb Allowed scroll on binary-file container
Set overflow in auto mode to allow large images.
2015-01-19 23:34:49 +01:00

21 lines
395 B
Text

.binary-file {
padding: @line-height-computed / 2;
background-color: @gray-lightest;
text-align: center;
overflow: auto;
img {
max-width: 100%;
max-height: 90%;
display: block;
margin: auto;
margin-bottom: @line-height-computed / 2;
border: 1px solid @gray;
.box-shadow(0 2px 3px @gray;);
background-color: white;
}
p.no-preview {
font-size: 24px;
color: @gray;
}
}