style: 💄 fixes unstable centered layout width bug
This commit is contained in:
5 files changed
+22
No files matched your search
@@ -10,6 +10,10 @@
|
||||
width: sizing.rems(l) * 15; //16 rems/320 px
|
||||
margin-bottom: sizing.rems(l);
|
||||
|
||||
@media (max-width: media.width(small)) {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
// Icons always need tweaking
|
||||
.rose-icon {
|
||||
--size: #{sizing.rems(m)};
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
.rose-nav-tabs {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: sizing.rems(m);
|
||||
box-shadow: inset 0 -#{sizing.rems(xxxxs)} 0 var(--ui-gray-subtler-2);
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<Rose::Form
|
||||
class="full-width"
|
||||
@onSubmit={{fn this.submit @submit}}
|
||||
@cancel={{fn this.cancel @cancel}}
|
||||
@disabled={{@model.isSaving}}
|
||||
|
||||
@@ -1,8 +1,23 @@
|
||||
@use 'rose/variables/sizing';
|
||||
@use 'rose/variables/media';
|
||||
|
||||
@import 'rose';
|
||||
@import 'notify';
|
||||
|
||||
.rose-layout-centered {
|
||||
> .rose-layout-page {
|
||||
width: sizing.rems(l) * 18;
|
||||
}
|
||||
|
||||
@media (max-width: media.width(small)) {
|
||||
display: block;
|
||||
|
||||
> .rose-layout-page {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rose-nav-sidebar {
|
||||
margin-bottom: sizing.rems(l);
|
||||
margin-top: sizing.rems(xxl);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<Rose::Form
|
||||
class="full-width"
|
||||
@onSubmit={{route-action "authenticate" (hash
|
||||
identification=this.identification
|
||||
password=this.password
|
||||
|
||||
Reference in new issue
Block a user