]> _ Git - fluidbook-html5.git/commitdiff
Fix #4420 @0.75
authorStephen Cameron <stephen@cubedesigners.com>
Tue, 1 Jun 2021 17:07:09 +0000 (19:07 +0200)
committerStephen Cameron <stephen@cubedesigners.com>
Tue, 1 Jun 2021 17:07:09 +0000 (19:07 +0200)
style/notes.less

index 0668988f8bb5f47d0d09eb1d73e79519e3313cb0..52044d971c6288e26820d1e4f860f67a7f3225ad 100644 (file)
     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;
     }
     .number {
       width: @w;
       top: @h;
+      padding-top: 0.8em;
     }
   }
 
           display: block;
           background-color: @post-it;
           box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25);
-
         }
       }
     }
   }
-}
\ No newline at end of file
+}