Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/styles/brackets.less
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,8 @@ a, img {
.image-centering {
display: inline-block;
vertical-align: middle;
margin-top: -50px; /* Offset as vertical align takes image metadata into account */
max-width: 90%;
max-height: 90%;
width: 90%; //As long as the width isn't set on the image itself theres no need for max-width/height
height: 90%;
}
.image-data {
font-weight: @font-weight-semibold;
Expand All @@ -373,7 +372,7 @@ a, img {
.image-preview {
background: url(images/preview_bg.png);
box-shadow: 0 1px 3px @bc-shadow;
max-height: 90%;
max-height: 100%;

.dark & {
background: url(images/preview_bg_dark.png);
Expand Down Expand Up @@ -404,6 +403,7 @@ a, img {

.image {
position: relative;
height: calc(~'100% - 53px');//.image-header height+margin
}

.image-guide,
Expand Down