From: Stephen Cameron Date: Tue, 1 Jun 2021 17:07:09 +0000 (+0200) Subject: Fix #4420 @0.75 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=6bc8aece1dbb38e3c5972d8bafa859f45fbedef8;p=fluidbook-html5.git Fix #4420 @0.75 --- diff --git a/style/notes.less b/style/notes.less index 0668988f..52044d97 100644 --- a/style/notes.less +++ b/style/notes.less @@ -76,6 +76,20 @@ width: @w; height: @h; + // Bottom dropshadow sizing on note pages thumbnails + @notes-extra-shadow-height: min(32, @h * 0.2); + @notes-shade-height: unit(@h + @notes-extra-shadow-height, px); + + &:before { + height: @notes-shade-height; + width: unit(@w + 15, px); + } + + .pageholder { + overflow: hidden; + max-height: @h; + } + &.left { margin-right: @w; } @@ -88,6 +102,7 @@ .number { width: @w; top: @h; + padding-top: 0.8em; } } @@ -127,9 +142,8 @@ display: block; background-color: @post-it; box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25); - } } } } -} \ No newline at end of file +}