Line height and ellipsized text don't work well together [SKIP CI]

This commit is contained in:
daudix
2024-09-15 23:07:46 +03:00
parent c708e6e932
commit 1ea78723a9

View File

@ -8,6 +8,7 @@
transition: var(--transition); transition: var(--transition);
border-radius: var(--rounded-corner); border-radius: var(--rounded-corner);
padding: 1rem; padding: 1rem;
padding-block-end: 0.75rem;
width: 0; width: 0;
max-width: calc(50% - 0.125rem); max-width: calc(50% - 0.125rem);
text-decoration: none; text-decoration: none;
@ -60,7 +61,6 @@
color: var(--fg-color); color: var(--fg-color);
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
line-height: 1;
} }
} }