1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00

Chore: Desktop: Fix SCSS compilation warning (#11217)

This commit is contained in:
Henry Heino 2024-10-26 13:02:40 -07:00 committed by GitHub
parent 4e7d74e49a
commit 576a73db5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,15 +10,6 @@
width: var(--joplin-toolbar-height); width: var(--joplin-toolbar-height);
max-width: var(--joplin-toolbar-height); max-width: var(--joplin-toolbar-height);
&.-has-title {
width: auto;
max-width: unset;
}
&:disabled {
opacity: 0.3;
}
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -33,6 +24,14 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
&.-has-title {
width: auto;
max-width: unset;
}
&:disabled {
opacity: 0.3;
}
&:not(:disabled) { &:not(:disabled) {
&:hover, &:focus-visible { &:hover, &:focus-visible {