diff --git a/src/app/pages/e-commerce/profit-card/profit-card.component.scss b/src/app/pages/e-commerce/profit-card/profit-card.component.scss new file mode 100644 index 00000000..70121041 --- /dev/null +++ b/src/app/pages/e-commerce/profit-card/profit-card.component.scss @@ -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; + } + } + } + } +}