fix: limit front card width to prevent map overflow before repaint

This commit is contained in:
sashaqred 2020-04-15 13:43:06 +03:00 committed by Maksim Karatkevich
parent 0232d5edd6
commit 601344d9c1

View file

@ -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;
}
}
}
}
}