Merge pull request #10745 from overleaf/revert-10705-ii-dashboard-layout-shift

Revert "[web] Prevent layout shift"

GitOrigin-RevId: d2eb1642268041d089efa212e37c0b79e29a71e2
This commit is contained in:
Jessica Lawshe 2022-11-30 10:55:28 -06:00 committed by Copybot
parent be520e7bb0
commit 5d53f7d418

View file

@ -807,7 +807,7 @@
}
.button-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius)
when(@is-new-css = true) {
padding: @padding-vertical - round(@border-size) @padding-horizontal;
padding: @padding-vertical - @border-size @padding-horizontal;
font-size: @font-size;
line-height: @line-height;
border-radius: @border-radius;