1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-10-21 10:51:17 +00:00

[file view] added online view for SVG files

This commit is contained in:
llj
2018-01-25 12:23:40 +08:00
parent 760002ee17
commit 55e5bc734d
8 changed files with 51 additions and 19 deletions

View File

@@ -2783,8 +2783,11 @@ button.sf-dropdown-toggle:focus {
font-size:0;
line-height:0;
}
#svg-view {
max-width:calc(100% - 4px);
max-height:calc(100% - 4px);
}
#docu-view,
#svg-view,
#md-view,
#md-edit {
background:#fff;
@@ -2825,10 +2828,6 @@ button.sf-dropdown-toggle:focus {
.anchor:hover {
text-decoration:none;
}
#svg-view {
min-height:500px;/*for ff*/
}
#svg-view,
#pdf {
width:950px;
margin:0 auto;
@@ -2856,7 +2855,6 @@ button.sf-dropdown-toggle:focus {
#md-view {
padding:40px 96px;
}
/* for repo, file_view page. */
#side-toolbar {
position:fixed;
right:0;