Fix tag/prevnext boxes: beat Trilium externallinks on same-domain links (a.-prefix ties, symmetric padding, wider chips)
This commit is contained in:
@@ -94,7 +94,7 @@
|
||||
border-top: 1px solid var(--background-highlight);
|
||||
}
|
||||
|
||||
.blog-pn {
|
||||
a.blog-pn {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
@@ -538,9 +538,12 @@ a.note-state {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0 !important;
|
||||
padding-right: 8px !important;
|
||||
text-align: center;
|
||||
}
|
||||
/* symmetric, a bit wider chips (undo Trilium's one-sided padding-right:6px) */
|
||||
a.tag { padding: 2px 12px !important; }
|
||||
a.blog-post-category { padding-right: 10px !important; padding-left: 10px !important; }
|
||||
a.blog-subcategory { padding-right: 12px !important; padding-left: 12px !important; }
|
||||
{
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
@@ -552,3 +555,6 @@ a.note-state {
|
||||
|
||||
/* subcategory keeps a small gap between its icon and label */
|
||||
a.blog-subcategory { gap: 6px !important; }
|
||||
|
||||
/* prev/next chips: symmetric padding (undo Trilium's one-sided padding-right on internal links) */
|
||||
#content a.blog-pn { padding: 6px 14px !important; }
|
||||
|
||||
Reference in New Issue
Block a user