Merge pull request #19611 from owncloud/fix-public-scroll
Fix scrollbars in public template
This commit is contained in:
commit
e5bbec79a6
|
@ -1,8 +1,12 @@
|
||||||
|
#content {
|
||||||
|
height: initial;
|
||||||
|
min-height: calc(100vh - 120px);
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
#preview {
|
#preview {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 45px auto 0;
|
|
||||||
min-height: 200px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#preview .notCreatable {
|
#preview .notCreatable {
|
||||||
|
|
|
@ -87,6 +87,7 @@ $thumbSize = 1024;
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div></header>
|
</div></header>
|
||||||
|
<div id="content-wrapper">
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<div id="preview">
|
<div id="preview">
|
||||||
<?php if (isset($_['folder'])): ?>
|
<?php if (isset($_['folder'])): ?>
|
||||||
|
@ -114,10 +115,10 @@ $thumbSize = 1024;
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<footer>
|
<footer>
|
||||||
<p class="info">
|
<p class="info">
|
||||||
<?php print_unescaped($theme->getLongFooter()); ?>
|
<?php print_unescaped($theme->getLongFooter()); ?>
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
|
@ -404,8 +404,7 @@ input[type="submit"].enabled {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
#content .hascontrols {
|
#content .hascontrols {
|
||||||
position: relative;
|
margin-top: 45px;
|
||||||
top: 45px;
|
|
||||||
}
|
}
|
||||||
#content-wrapper {
|
#content-wrapper {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -425,9 +424,9 @@ input[type="submit"].enabled {
|
||||||
.emptycontent {
|
.emptycontent {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
color: #888;
|
color: #888;
|
||||||
position: absolute;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
top: 30%;
|
margin-top: 100px; /* ie8 */
|
||||||
|
margin-top: 30vh;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
#emptycontent h2,
|
#emptycontent h2,
|
||||||
|
@ -1164,7 +1163,7 @@ div.crumb:active {
|
||||||
|
|
||||||
/* public footer */
|
/* public footer */
|
||||||
#body-public footer {
|
#body-public footer {
|
||||||
margin-top: 65px;
|
position: relative;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue