mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-04 21:19:01 +08:00
22 lines
427 B
SCSS
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 ?
|