amis2/scss/utilities/typography/_word-break.scss
2020-11-27 21:21:20 +08:00

22 lines
427 B
SCSS

@mixin make-word-break($prefix: '.') {
#{$prefix}break-normal {
overflow-wrap: normal;
word-break: normal;
}
#{$prefix}break-words {
overflow-wrap: break-word;
}
#{$prefix}break-all {
word-break: break-all;
}
}
@include make-word-break();
@each $deivce in map-keys($devices) {
@include media-device($deivce) {
@include make-word-break('.' + selector-escape($deivce + ':'));
}
}
// hover ?