mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 18:54:11 +08:00
fix(themes): use correct default app-direction
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
|
||||
|
||||
// Global app direction
|
||||
$app-direction: null !default;
|
||||
$app-direction: ltr !default;
|
||||
|
||||
|
||||
// Global font path
|
||||
|
@ -156,7 +156,7 @@
|
||||
}
|
||||
|
||||
@mixin multi-dir() {
|
||||
@if $app-direction == null {
|
||||
@if $app-direction == multi {
|
||||
$root: #{&};
|
||||
@at-root [dir="ltr"], [dir="rtl"] {
|
||||
#{$root} {
|
||||
@ -169,7 +169,7 @@
|
||||
}
|
||||
|
||||
@mixin rtl() {
|
||||
@if $app-direction == null {
|
||||
@if $app-direction == multi {
|
||||
$root: #{&};
|
||||
@at-root [dir="rtl"] {
|
||||
#{$root} {
|
||||
@ -182,7 +182,7 @@
|
||||
}
|
||||
|
||||
@mixin ltr() {
|
||||
@if $app-direction == null {
|
||||
@if $app-direction == multi {
|
||||
$root: #{&};
|
||||
@at-root [dir="ltr"] {
|
||||
#{$root} {
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
|
||||
// Global app direction
|
||||
$app-direction: null !default;
|
||||
$app-direction: ltr !default;
|
||||
|
||||
|
||||
// Global font path
|
||||
|
@ -156,7 +156,7 @@
|
||||
}
|
||||
|
||||
@mixin multi-dir() {
|
||||
@if $app-direction == null {
|
||||
@if $app-direction == multi {
|
||||
$root: #{&};
|
||||
@at-root [dir="ltr"], [dir="rtl"] {
|
||||
#{$root} {
|
||||
@ -169,7 +169,7 @@
|
||||
}
|
||||
|
||||
@mixin rtl() {
|
||||
@if $app-direction == null {
|
||||
@if $app-direction == multi {
|
||||
$root: #{&};
|
||||
@at-root [dir="rtl"] {
|
||||
#{$root} {
|
||||
@ -182,7 +182,7 @@
|
||||
}
|
||||
|
||||
@mixin ltr() {
|
||||
@if $app-direction == null {
|
||||
@if $app-direction == multi {
|
||||
$root: #{&};
|
||||
@at-root [dir="ltr"] {
|
||||
#{$root} {
|
||||
|
Reference in New Issue
Block a user