mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
fix(title): large title scale animation is now correct in rtl mode (#23372)
resolves #23371
This commit is contained in:
@ -41,7 +41,7 @@
|
||||
|
||||
:host(.title-large) {
|
||||
@include padding(0, 16px);
|
||||
@include transform-origin(start, center);
|
||||
@include transform-origin(left, center);
|
||||
|
||||
bottom: 0;
|
||||
|
||||
@ -57,6 +57,10 @@
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
:host(.title-large.title-rtl) {
|
||||
@include transform-origin(right, center);
|
||||
}
|
||||
|
||||
:host(.title-large.ion-cloned-element) {
|
||||
--color: #{$text-color};
|
||||
}
|
||||
|
||||
@ -64,6 +64,7 @@ export class ToolbarTitle implements ComponentInterface {
|
||||
class={createColorClasses(this.color, {
|
||||
[mode]: true,
|
||||
[`title-${size}`]: true,
|
||||
'title-rtl': document.dir === 'rtl'
|
||||
})}
|
||||
>
|
||||
<div class="toolbar-title">
|
||||
|
||||
Reference in New Issue
Block a user