One file was OK when we only had a couple of mixins, but recently we've been adding quite a few. We can now avoid a SCSS Lint warning by excluding just the file with the affected mixin.
14 lines
298 B
SCSS
14 lines
298 B
SCSS
@mixin bottom-tooltip {
|
|
@include tooltip;
|
|
line-height: $global-lineheight;
|
|
margin-top: $line-height / 8;
|
|
width: max-content;
|
|
|
|
&::before {
|
|
@include css-triangle($tooltip-pip-width, $tooltip-background-color, up);
|
|
bottom: 100%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
}
|