This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix InlineImageViewer example extension (#9191)
* fix InlineImageViewer example extension * separate style of inline image viewer
- Loading branch information
Showing
3 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
src/extensions/samples/InlineImageViewer/InlineImageViewer.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div> | ||
<div class="filename"><span/></div> | ||
<img style="display: block; margin: 20px auto; opacity: 0;"/> | ||
</div> | ||
<div class="inline-image-viewer"> | ||
<div class="filename"><span /></div> | ||
<img class="image" /> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.inline-image-viewer .filename { | ||
text-align: right; | ||
padding-right: 1.5em; | ||
line-height: 32px; | ||
} | ||
|
||
.inline-image-viewer .image { | ||
display: block; | ||
margin: 0 auto; | ||
opacity: 0; | ||
} |