mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Fix stripe alignment on Recompile button (#16643)
GitOrigin-RevId: 504bc90889e89c62727777eedc81dfa192094e75
This commit is contained in:
@@ -57,6 +57,7 @@ function PdfCompileButton() {
|
||||
const dropdownToggleClassName = classNames({
|
||||
'detach-compile-button-animate': animateCompileDropdownArrow,
|
||||
'btn-striped-animated': hasChanges,
|
||||
'no-left-border': true,
|
||||
})
|
||||
|
||||
const buttonClassName = classNames({
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
// prettier-ignore
|
||||
#gradient > .striped(@color: rgba(255, 255, 255, 0.2), @angle: -45deg);
|
||||
background-size: @stripe-width @stripe-width;
|
||||
background-origin: content-box;
|
||||
.animation(pdf-toolbar-stripes 2s linear infinite);
|
||||
}
|
||||
|
||||
|
||||
@@ -81,6 +81,10 @@
|
||||
&.btn-secondary {
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
&.no-left-border {
|
||||
border-left: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user