fix: Fix all modal sizes (#6820)

This commit is contained in:
Mutasem Aldmour
2023-08-01 13:52:33 +02:00
committed by GitHub
parent 1d72225cb0
commit 7525cfe2dc
7 changed files with 27 additions and 40 deletions

View File

@@ -37,3 +37,19 @@
text-overflow: ellipsis;
white-space: nowrap;
}
@function joinVarName($list) {
$name: '--' + 'el';
@each $item in $list {
@if $item != '' {
$name: $name + '-' + $item;
}
}
@return $name;
}
// getCssVarName('button', 'text-color') => '--el-button-text-color'
@function getCssVarName($args...) {
@return joinVarName($args);
}