feat(core): use keywords for transform origin

This would allow CSSJanus to flip the styles correctly for RTL
This commit is contained in:
alistair3149 2022-05-20 16:07:44 -04:00
parent 8c0819c276
commit ea875234be
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C
5 changed files with 5 additions and 5 deletions

View file

@ -82,7 +82,7 @@
right: 1.25rem;
left: 1.25rem;
.citizen-card;
.citizen-card-hide( 100% 0 );
.citizen-card-hide( top right );
.citizen-card-transition();
&.citizen-pref-panel--active {

View file

@ -12,7 +12,7 @@
user-select: none;
will-change: transform;
.citizen-card();
.citizen-card-hide( 0 0 );
.citizen-card-hide( top left );
}
&__header {

View file

@ -57,7 +57,7 @@
margin-top: ~'calc( var( --size-button--page ) + 0.5rem )';
font-size: 0.875rem;
.citizen-card;
.citizen-card-hide( 100% 0 );
.citizen-card-hide( top right );
a {
padding: 0.625rem 1.25rem;

View file

@ -9,7 +9,7 @@
min-width: var( --size-dialog-min--header );
font-size: 0.875rem;
.citizen-card;
.citizen-card-hide( 100% 0 );
.citizen-card-hide( top right );
}
// TODO: This mess needs refactor

View file

@ -17,7 +17,7 @@
margin: var( --margin-header ) var( --padding-header );
gap: 0.25rem;
.citizen-card();
.citizen-card-hide( 100% 0, X, false );
.citizen-card-hide( top right, X, false );
/**
* Loading indicator for searchbox