mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +01:00
fix: limit front card width to prevent map overflow before repaint
This commit is contained in:
parent
0232d5edd6
commit
601344d9c1
1 changed files with 32 additions and 0 deletions
|
|
@ -0,0 +1,32 @@
|
||||||
|
@import '../../../@theme/styles/themes';
|
||||||
|
|
||||||
|
@include nb-install-component() {
|
||||||
|
.flip-icon {
|
||||||
|
position: absolute;
|
||||||
|
right: 0.625rem;
|
||||||
|
top: 1rem;
|
||||||
|
@include nb-rtl(right, auto);
|
||||||
|
@include nb-rtl(left, 0.625rem);
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
::ng-deep {
|
||||||
|
.front-container {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flipped {
|
||||||
|
.back-container {
|
||||||
|
.flip-icon {
|
||||||
|
transform: scaleX(-1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.front-container {
|
||||||
|
.flip-icon {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue