Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Commit

Permalink
Merge pull request adobe#5775 from Simek/master
Browse files Browse the repository at this point in the history
eliminate images "jumping" effect after loading the properties in image viewer
  • Loading branch information
couzteau committed Nov 6, 2013
2 parents 059fd46 + 5c76765 commit 0ab2b09
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions src/htmlContent/image-holder.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<div id="image-holder">
<div id="img-centering">
<div id="img-data"></div>
<div id="img-path"></div>
<div id="img-header">
<div id="img-data"></div>
<div id="img-path"></div>
</div>
<div id="img">
<div id="img-scale"></div>
<img id="img-preview" src="file:///{{fullPath}}">
Expand Down
12 changes: 8 additions & 4 deletions src/styles/brackets.less
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,13 @@ a, img {
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.36);
max-height: 90%;
}

#img-header {
display: inline-block;
width: 100%;
height: 38px;
margin-bottom: 15px;
}

#img-data,
#img-path {
Expand All @@ -281,10 +288,7 @@ a, img {
#img-path::selection {
background: @selection-color-focused;
}

#img-path {
margin: 0 0 15px;
}

#img {
position: relative;
}
Expand Down

0 comments on commit 0ab2b09

Please sign in to comment.