pages/_sass/font-awesome/_list.scss
Scott Lee Chua 5ab56faadd
Update SASS syntax in base (non-font) files (#3281)
Partially fixes issue #3256 by updating SASS syntax in main SCSS files.

To fully address the issue, FontAwesome should be updated to `v7.x` and
Tabler to `v3.30` or higher (see Tabler fix
[here](https://github.com/tabler/tabler-icons/pull/1256)), where the
SCSS has been fixed.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
Co-authored-by: George Araújo <george.gcac@gmail.com>
2026-01-26 18:26:44 -03:00

20 lines
492 B
SCSS

// icons in a list
// -------------------------
@use 'variables' as v;
.#{v.$css-prefix}-ul {
list-style-type: none;
margin-inline-start: var(--#{v.$css-prefix}-li-margin, #{v.$li-margin});
padding-inline-start: 0;
> li { position: relative; }
}
.#{v.$css-prefix}-li {
inset-inline-start: calc(-1 * var(--#{v.$css-prefix}-li-width, #{v.$li-width}));
position: absolute;
text-align: center;
width: var(--#{v.$css-prefix}-li-width, #{v.$li-width});
line-height: inherit;
}