(layout) Fixed: The theme settings cog is not positioned correctly in Empty layout

This commit is contained in:
Sercan Yemen 2022-05-25 23:17:12 +03:00
parent c374c2c6cf
commit d033470851
2 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<div
class="fixed flex items-center justify-center right-0 w-10 h-10 shadow-lg rounded-l-lg z-90 cursor-pointer bg-red-600 bg-opacity-90 print:hidden"
class="settings-cog fixed flex items-center justify-center right-0 w-10 h-10 shadow-lg rounded-l-lg z-90 cursor-pointer bg-red-600 bg-opacity-90 print:hidden"
[class.lg:right-0]="config.layout === 'centered' || config.layout === 'material'"
[class.lg:right-16]="config.layout !== 'centered' && config.layout !== 'material'"
style="top: 275px"

View File

@ -16,6 +16,13 @@ import { Layout } from 'app/layout/layout.types';
flex: none;
width: auto;
}
@media (screen and min-width: 1280px) {
empty-layout + settings .settings-cog {
right: 0 !important;
}
}
`
],
encapsulation: ViewEncapsulation.None