mirror of
https://github.com/wenlzhang/obsidian-tag-index.git
synced 2026-07-22 05:44:03 +00:00
style: adjust tag index spacing and font sizes for better visual density
This commit is contained in:
parent
ab62542dcb
commit
0a885d9ab1
1 changed files with 8 additions and 8 deletions
16
styles.css
16
styles.css
|
|
@ -364,18 +364,18 @@
|
|||
margin-top: 4px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.tag-index-note-item {
|
||||
position: relative;
|
||||
padding: 6px 8px;
|
||||
padding: 0px 8px;
|
||||
border-radius: 4px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
gap: 2px;
|
||||
transition: background-color 0.2s ease;
|
||||
margin-bottom: 8px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.tag-index-note-item:hover {
|
||||
|
|
@ -392,7 +392,7 @@
|
|||
/* Add a file icon before note names */
|
||||
.tag-index-note-header::before {
|
||||
content: '📄';
|
||||
font-size: 12px;
|
||||
font-size: 13px;
|
||||
opacity: 0.6;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
|
@ -404,7 +404,7 @@
|
|||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 13px;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
border-bottom: 1px solid transparent;
|
||||
transition: all 0.2s ease;
|
||||
|
|
@ -445,11 +445,11 @@
|
|||
border-left: 2px solid var(--background-modifier-border);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.tag-index-line-content {
|
||||
padding: 8px 10px;
|
||||
padding: 6px 8px;
|
||||
background-color: var(--background-primary-alt);
|
||||
border-radius: 4px;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
|
|
|
|||
Loading…
Reference in a new issue