mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 15:19:06 +00:00
Shared image view (#2951)
* init shared file view image * [shared image file view] rewrote it with react * [shared image file view] modification
This commit is contained in:
19
frontend/src/css/image-file-view.css
Normal file
19
frontend/src/css/image-file-view.css
Normal file
@@ -0,0 +1,19 @@
|
||||
.image-file-view:before {
|
||||
content: ' ';
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
height: 100%;
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
}
|
||||
#image-view {
|
||||
padding: 1px;
|
||||
background: #fff;
|
||||
border: 1px solid #eee;
|
||||
width: auto;
|
||||
height: auto;
|
||||
max-width: calc(100% - 4px);
|
||||
max-height: calc(100% - 4px);
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
}
|
Reference in New Issue
Block a user