mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-09-29 05:07:36 +00:00
Merge "Show initially part of the below the fold area"
This commit is contained in:
commit
01ef0368e0
|
@ -2,6 +2,7 @@
|
|||
@import "mmv.mixins";
|
||||
|
||||
@metadata-background: rgb(248, 248, 248);
|
||||
@metadata-above-fold-reveal-height: 12;
|
||||
|
||||
.mw-mmv-wrapper {
|
||||
top: 0px;
|
||||
|
@ -58,11 +59,11 @@
|
|||
// above-the-fold part of the metadata panel
|
||||
.mw-mmv-above-fold {
|
||||
width: 100%;
|
||||
height: @metadatabar-above-fold-height;
|
||||
height: @metadatabar-above-fold-height - @metadata-above-fold-reveal-height;
|
||||
// min-height is used when the height is changed to auto to display long texts, to make sure the layout
|
||||
// is not messed up wheen the text is short and does not fill the available place. It is also used by
|
||||
// Javascript to get the "default" height.
|
||||
min-height: @metadatabar-above-fold-height;
|
||||
min-height: @metadatabar-above-fold-height - @metadata-above-fold-reveal-height;
|
||||
position: relative;
|
||||
border-bottom: 1px solid #dddddd;
|
||||
|
||||
|
|
Loading…
Reference in a new issue