Skip to content

Commit

Permalink
fix(StampOverlay): bottom of the overlay can't be reached due to no s…
Browse files Browse the repository at this point in the history
…croll bar when window height is shrinking
  • Loading branch information
ZhijieZhang committed Jun 8, 2020
1 parent 0b8b38f commit 6153340
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/StampOverlay/StampOverlay.scss
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
@import '../../constants/styles';
@import '../../constants/overlay';
@import '../../constants/popup';

.StampOverlay {
@extend %overlay;

overflow: auto;
top: 46px;
width: 232px;
border-radius: 4px 0 0 4px;
box-shadow: 0 2px 16px 0 #E1E1E3;
width: 354px;
max-height: calc(100% - #{$top-bar-height} - 46px);
padding: 16px 16px 16px;

.rubber-stamp {
float: left;
height: 48px;
width: 160px;
width: 50%;

img {
width: 100%;
Expand All @@ -27,8 +30,6 @@
}
}



.default-stamp-container {
.column {
padding: 10px;
Expand Down

0 comments on commit 6153340

Please sign in to comment.