Component extend adjustment.

This commit is contained in:
Fredrik Jonsson 2025-04-16 08:36:45 +02:00
commit a4836be9f5
3 changed files with 5 additions and 4 deletions

View file

@ -3,7 +3,8 @@
// Allows the bottom of an element to extend to the bottom of all floated child // Allows the bottom of an element to extend to the bottom of all floated child
// elements. See http://nicolasgallagher.com/micro-clearfix-hack/ // elements. See http://nicolasgallagher.com/micro-clearfix-hack/
.clearfix { .clearfix,
%clearfix {
&::before { &::before {
content: ''; content: '';
display: table; display: table;

View file

@ -1,4 +1,5 @@
.overlay { .overlay,
%overlay {
--color-overlay: var(--color-black-20); --color-overlay: var(--color-black-20);
--color-overlay2: var(--color-black-10); --color-overlay2: var(--color-black-10);
border-image: linear-gradient(var(--color-overlay), var(--color-overlay2)) fill 1; border-image: linear-gradient(var(--color-overlay), var(--color-overlay2)) fill 1;

View file

@ -1,5 +1,4 @@
.tags, .tags {
%tags {
ul { ul {
@extend %flex-inline; @extend %flex-inline;
@extend %flex-inline--inline; @extend %flex-inline--inline;