mirror of
https://github.com/zadam/trilium.git
synced 2025-12-21 06:44:24 +01:00
fix(layout): 2px margin in code notes
This commit is contained in:
parent
87d99aaffa
commit
261c1f77cf
@ -7,7 +7,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.inline-title {
|
.inline-title {
|
||||||
margin-top: 2px; /* Allow space for the focus outline */
|
|
||||||
max-width: var(--max-content-width);
|
max-width: var(--max-content-width);
|
||||||
container-type: inline-size;
|
container-type: inline-size;
|
||||||
padding-inline-start: 24px;
|
padding-inline-start: 24px;
|
||||||
@ -111,7 +110,7 @@ body.prefers-centered-content .inline-title {
|
|||||||
|
|
||||||
.note-type-switcher {
|
.note-type-switcher {
|
||||||
--badge-radius: 12px;
|
--badge-radius: 12px;
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 5px;
|
top: 5px;
|
||||||
padding: .25em 0;
|
padding: .25em 0;
|
||||||
@ -121,7 +120,7 @@ body.prefers-centered-content .inline-title {
|
|||||||
min-width: 0;
|
min-width: 0;
|
||||||
gap: 5px;
|
gap: 5px;
|
||||||
min-height: 35px;
|
min-height: 35px;
|
||||||
|
|
||||||
>* {
|
>* {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
animation: note-type-switcher-intro 200ms ease-in;
|
animation: note-type-switcher-intro 200ms ease-in;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user