You've already forked AstralRinth
forked from didirus/AstralRinth
* Implement Editor * content oveflow fix for description * Description card fix * make everything fix in report modal * seperate report page with image upload * Bump Omorphia * Update pages/report.vue Co-authored-by: Emma Alexia <emma@modrinth.com> * suggested changes and cleanup * fix button spacing * clean up and replace report implementations * corepack fix * Remove ModalReport * image uploads for conversations * image uploading context for versions and threads * adjust information about thread messages * Update pages/report.vue Co-authored-by: Emma Alexia <emma@modrinth.com> * Adjust image upload imports * fix api changes for useImageUpload * correct report redirection uri * report button feedback * omorphia ver bump --------- Co-authored-by: Emma Alexia <emma@modrinth.com>
102 lines
1.5 KiB
SCSS
102 lines
1.5 KiB
SCSS
.columns {
|
|
display: flex;
|
|
|
|
@for $i from 1 through 5 {
|
|
.column-grow-#{$i} {
|
|
flex-grow: $i;
|
|
}
|
|
}
|
|
}
|
|
|
|
.rows {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
@for $i from 1 through 4 {
|
|
.row-grow-#{$i} {
|
|
flex-grow: $i;
|
|
}
|
|
}
|
|
}
|
|
.page-container {
|
|
margin: var(--spacing-card-md);
|
|
margin-top: 0;
|
|
|
|
.page-contents {
|
|
display: flex;
|
|
flex-direction: column;
|
|
.content {
|
|
width: 100%;
|
|
}
|
|
@media screen and (min-width: 1024px) {
|
|
flex-direction: row;
|
|
//max-width: 1280px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
.normal-page {
|
|
display: grid;
|
|
padding: 0 0.75rem;
|
|
|
|
grid-template:
|
|
'sidebar'
|
|
'content'
|
|
'info'
|
|
/ 100%;
|
|
|
|
@media screen and (max-width: 1024px) {
|
|
margin-top: var(--spacing-card-md);
|
|
}
|
|
|
|
.normal-page__sidebar {
|
|
grid-area: sidebar;
|
|
}
|
|
|
|
.normal-page__info {
|
|
grid-area: info;
|
|
}
|
|
|
|
.normal-page__content {
|
|
grid-area: content;
|
|
}
|
|
}
|
|
|
|
.site-header {
|
|
margin: 0 0.75rem;
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.normal-page {
|
|
margin: 0 auto;
|
|
max-width: 80rem;
|
|
column-gap: 0.75rem;
|
|
|
|
grid-template:
|
|
'sidebar content' auto
|
|
'info content' auto
|
|
'dummy content' 1fr
|
|
/ 20rem 1fr;
|
|
|
|
&.alt-layout {
|
|
grid-template:
|
|
'content sidebar' auto
|
|
'content info' auto
|
|
'content dummy' 1fr
|
|
/ 1fr 20rem;
|
|
}
|
|
}
|
|
|
|
.normal-page__sidebar {
|
|
min-width: 20rem;
|
|
width: 20rem;
|
|
}
|
|
|
|
.normal-page__content {
|
|
max-width: calc(60rem - 0.75rem);
|
|
overflow-x: hidden;
|
|
}
|
|
}
|