mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
fix(all): improve text customization
This commit is contained in:
@ -21,6 +21,8 @@
|
||||
user-select: none;
|
||||
vertical-align: top; // the better option for most scenarios
|
||||
vertical-align: -webkit-baseline-middle; // the best for those that support it
|
||||
|
||||
font-kerning: none;
|
||||
}
|
||||
|
||||
:host([disabled]) {
|
||||
@ -123,7 +125,6 @@
|
||||
|
||||
transition: var(--transition);
|
||||
|
||||
|
||||
border-width: var(--border-width);
|
||||
border-style: var(--border-style);
|
||||
border-color: var(--border-color);
|
||||
@ -139,11 +140,9 @@
|
||||
cursor: pointer;
|
||||
opacity: var(--opacity);
|
||||
overflow: var(--overflow);
|
||||
vertical-align: top; // the better option for most scenarios
|
||||
vertical-align: -webkit-baseline-middle; // the best for those that support it
|
||||
|
||||
z-index: 0;
|
||||
box-sizing: border-box;
|
||||
font-kerning: none;
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user