Make tag chip centering bulletproof (#content a.tag !important vs Trilium ID rule)
This commit is contained in:
@@ -540,7 +540,15 @@ a.note-state {
|
||||
gap: 0 !important;
|
||||
text-align: center;
|
||||
}
|
||||
/* symmetric, a bit wider chips (undo Trilium's one-sided padding-right:6px) */
|
||||
/* tag chips: bulletproof vs Trilium's #content a[href^="https"] (ID specificity) */
|
||||
#content a.tag {
|
||||
display: inline-flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
gap: 0 !important;
|
||||
padding: 2px 12px !important;
|
||||
line-height: 1.6;
|
||||
}
|
||||
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; }
|
||||
|
||||
Reference in New Issue
Block a user