fixes issue where article elements in article lists had an extra line break under the heading until they were hovered over

This commit is contained in:
Akhil Manthina 2025-08-24 13:07:13 -07:00
parent 034379e200
commit 6b5884fef2

View File

@ -65,12 +65,15 @@
font-weight: bold;
line-height: 1;
font-family: var(--font-system-ui);
display: flex;
align-items: center;
&::after {
-webkit-mask-image: var(--icon-right);
display: inline-block;
position: relative;
transform: translateX(-0.25rem);
top: 0.1rem;
opacity: 0;
mask-image: var(--icon-right);
transition: var(--transition);
@ -80,6 +83,8 @@
height: 1rem;
pointer-events: none;
content: "";
/* Add flex-shrink to prevent the icon from shrinking */
flex-shrink: 0;
:root[dir*="rtl"] & {
transform: scaleX(-1) translateX(-0.25rem);