mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(rtl): add correct text-align (#11353)
* fix(rtl): add correct text-align * feat(text-align): add mixin for backwards compatibility of variables * fix(text-align): default null not empty string * fix(text-align): remove default
This commit is contained in:
committed by
Brandy Carney
parent
6b42677460
commit
424b15aefd
@@ -15,6 +15,8 @@ ion-segment {
|
||||
}
|
||||
|
||||
.segment-button {
|
||||
@include text-align(center);
|
||||
|
||||
position: relative;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
@@ -22,7 +24,6 @@ ion-segment {
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
|
||||
text-align: center;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
|
||||
Reference in New Issue
Block a user