Make tag chip centering bulletproof (#content a.tag !important vs Trilium ID rule)

This commit is contained in:
Richard Zink
2026-09-10 12:44:47 +02:00
parent 7b826360ae
commit 00bfea9d3c
+9 -1
View File
@@ -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; }