Created
September 1, 2023 00:04
-
-
Save wpeasy/9b2cb91648b30f1fadafee5c57fa8796 to your computer and use it in GitHub Desktop.
ACSS Text Line Lengths Override
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$sizes: ('xxl','xl','l','m','s','xs'); | |
.brx-body{ | |
@each $size in $sizes { | |
.text--#{$size} { | |
max-inline-size: var(--text-#{$size}-length); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment