Mislav Lukach 45ac6b839c
fix(button): improve font-weight styling (#9819)
Co-authored-by: amanape <83104063+amanape@users.noreply.github.com>
2025-07-23 15:37:45 +00:00

15 lines
399 B
CSS

.group .button-bold-text::before,
.group .button-bold-text::after {
content: '';
display: inline-block;
width: var(--text-increase-size);
transition: width 0.2s ease;
transition: font-weight 0.2s ease;
}
.group:hover .button-bold-text::before,
.group:hover .button-bold-text::after,
.group:focus .button-bold-text::before,
.group:focus .button-bold-text::after {
width: 0;
}