Optimize Brand Accent Component
This commit is contained in:
1 parent
33e8b61065
commit
e6b6947e08
2 files changed
+56
-36
No files matched your search
@@ -1,19 +1,5 @@
|
||||
@use "sass:map";
|
||||
|
||||
$breakpoints: (
|
||||
'narrow': 1400px
|
||||
);
|
||||
|
||||
@mixin respond-to($breakpoint) {
|
||||
@if map.has-key($breakpoints, $breakpoint) {
|
||||
@media (max-width: map.get($breakpoints, $breakpoint)) {
|
||||
@content;
|
||||
}
|
||||
} @else {
|
||||
@warn "해당 브레이크포인트가 없습니다: #{$breakpoint}";
|
||||
}
|
||||
}
|
||||
|
||||
:host {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@@ -126,9 +112,6 @@ $breakpoints: (
|
||||
}
|
||||
|
||||
span {
|
||||
@include respond-to(narrow) {
|
||||
display: none;
|
||||
}
|
||||
/*text-box-trim: trim-both;
|
||||
text-box-edge: cap alphabetic;*/
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user