mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
fix(all): improve text customization
This commit is contained in:
@ -18,6 +18,13 @@
|
||||
color: #{current-color(contrast)};
|
||||
|
||||
font-size: 14px;
|
||||
|
||||
text-align: center;
|
||||
text-overflow: ellipsis;
|
||||
text-transform: none;
|
||||
|
||||
white-space: nowrap;
|
||||
font-kerning: none;
|
||||
}
|
||||
|
||||
|
||||
@ -26,6 +33,7 @@
|
||||
}
|
||||
|
||||
.fab-button-native {
|
||||
@include text-inherit();
|
||||
@include border-radius(50%);
|
||||
@include margin(var(--padding-top), var(--padding-end), var(--padding-bottom), var(--padding-start));
|
||||
|
||||
@ -45,25 +53,14 @@
|
||||
|
||||
background: var(--background);
|
||||
background-clip: padding-box;
|
||||
color: inherit;
|
||||
|
||||
font-size: inherit;
|
||||
font-weight: inherit;
|
||||
|
||||
line-height: var(--size);
|
||||
|
||||
text-align: center;
|
||||
text-overflow: ellipsis;
|
||||
text-transform: none;
|
||||
|
||||
white-space: nowrap;
|
||||
|
||||
box-shadow: var(--box-shadow);
|
||||
contain: strict;
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
z-index: 0;
|
||||
font-kerning: none;
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
@ -86,8 +83,6 @@
|
||||
flex-flow: row nowrap;
|
||||
flex-shrink: 0;
|
||||
align-items: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
justify-content: center;
|
||||
|
||||
height: 100%;
|
||||
|
Reference in New Issue
Block a user