mirror of
https://github.com/modrinth/code.git
synced 2026-08-31 12:05:53 +00:00
feat: Allow for adjustable alignment of main content on certain pages for content moderators (#7034)
* Add type safety and validation for moderation settings * Add ability for moderators to adjust page layout for discover, project, moderation pages Primarily for changes to have more tooling present without overlapping important info
This commit is contained in:
@@ -111,6 +111,18 @@
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
&.align-x {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
&.align-l {
|
||||
margin: 0 0 0 auto;
|
||||
}
|
||||
|
||||
&.align-r {
|
||||
margin: 0 auto 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
.normal-page__sidebar {
|
||||
@@ -140,6 +152,18 @@
|
||||
'sidebar'
|
||||
/ 100%;
|
||||
|
||||
&.align-x {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
&.align-l {
|
||||
margin: 0 0 0 auto;
|
||||
}
|
||||
|
||||
&.align-r {
|
||||
margin: 0 auto 0 0;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1024px) {
|
||||
&.sidebar {
|
||||
grid-template:
|
||||
|
||||
Reference in New Issue
Block a user