mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 10:26:17 +00:00
[SVG file view] rewrote it with react (#3125)
This commit is contained in:
16
frontend/src/css/svg-file-view.css
Normal file
16
frontend/src/css/svg-file-view.css
Normal file
@@ -0,0 +1,16 @@
|
||||
.svg-file-view {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
}
|
||||
.svg-file-view:before {
|
||||
content: ' ';
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
height: 100%;
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
}
|
||||
#svg-view {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
Reference in New Issue
Block a user