mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
style(components): [table] use --font-size-base for default font size (#18725)
* style(components): [table] use '-font-size-base' for default font size * Update packages/theme-chalk/src/common/var.scss Co-authored-by: qiang <qw13131wang@gmail.com> --------- Co-authored-by: qiang <qw13131wang@gmail.com>
This commit is contained in:
@@ -945,8 +945,8 @@ $table-font-size: () !default;
|
||||
$table-font-size: map.merge(
|
||||
(
|
||||
'large': getCssVar('font-size', 'base'),
|
||||
'default': 14px,
|
||||
'small': 12px,
|
||||
'default': getCssVar('font-size', 'base'),
|
||||
'small': getCssVar('font-size', 'extra-small'),
|
||||
),
|
||||
$table-font-size
|
||||
);
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
}
|
||||
|
||||
@include b('table-v2') {
|
||||
font-size: 14px;
|
||||
font-size: getCssVar('font-size', 'base');
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
background-color: getCssVar('table-bg-color');
|
||||
font-size: 14px;
|
||||
font-size: getCssVar('font-size', 'base');
|
||||
color: getCssVar('table-text-color');
|
||||
|
||||
@include e(inner-wrapper) {
|
||||
|
||||
Reference in New Issue
Block a user