MM-58215 - Fixing error page (#27002)
* MM-58215 - Fixing error page * Fixing prority * updating specificity * fixing announcement in default cases * updating announcement bar * updating css * updating grid
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
7e797cea3b
Коммит
9559fa6486
@@ -87,6 +87,11 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* stylelint-disable -- grid-template indentation */
|
/* stylelint-disable -- grid-template indentation */
|
||||||
|
|
||||||
|
body.app__body {
|
||||||
|
background-color: var(--sidebar-header-bg);
|
||||||
|
}
|
||||||
|
|
||||||
body.admin-onboarding #root {
|
body.admin-onboarding #root {
|
||||||
&.channel-view {
|
&.channel-view {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -94,19 +99,8 @@ body.admin-onboarding #root {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#root,
|
.app__body.channel-view {
|
||||||
body.app__body #root {
|
#root {
|
||||||
display: grid;
|
|
||||||
overflow: hidden;
|
|
||||||
|
|
||||||
grid-template:
|
|
||||||
'header' min-content
|
|
||||||
'main'
|
|
||||||
'footer' min-content
|
|
||||||
;
|
|
||||||
|
|
||||||
&.channel-view {
|
|
||||||
background-color: var(--sidebar-header-bg);
|
|
||||||
--columns: min-content minmax(385px, 1fr) min-content;
|
--columns: min-content minmax(385px, 1fr) min-content;
|
||||||
grid-template:
|
grid-template:
|
||||||
'announcement announcement announcement' min-content
|
'announcement announcement announcement' min-content
|
||||||
@@ -119,6 +113,19 @@ body.app__body #root {
|
|||||||
background-color: $bg--gray;
|
background-color: $bg--gray;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#root,
|
||||||
|
body.app__body #root {
|
||||||
|
display: grid;
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
|
grid-template:
|
||||||
|
"announcement" min-content
|
||||||
|
"header" min-content
|
||||||
|
"main"
|
||||||
|
"footer" min-content
|
||||||
|
;
|
||||||
|
|
||||||
&.console__root {
|
&.console__root {
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
@@ -130,7 +137,7 @@ body.app__body #root {
|
|||||||
'lhs center'
|
'lhs center'
|
||||||
'footer footer' min-content
|
'footer footer' min-content
|
||||||
;
|
;
|
||||||
grid-template-columns: min-content auto;
|
grid-template-columns: auto 1fr; /* lhs takes its content width, center takes remaining space */
|
||||||
}
|
}
|
||||||
|
|
||||||
&.container-fluid {
|
&.container-fluid {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
z-index: 999;
|
z-index: 999;
|
||||||
display: flex;
|
display: flex;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: 100%;
|
width: 100vw;
|
||||||
min-height: $announcement-bar-height;
|
min-height: $announcement-bar-height;
|
||||||
max-height: $announcement-bar-height;
|
max-height: $announcement-bar-height;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -19,6 +19,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
padding: 0 32px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
||||||
> span {
|
> span {
|
||||||
|
|||||||
@@ -8,13 +8,12 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.error__container {
|
.error__container {
|
||||||
display: table-cell;
|
display: block;
|
||||||
max-width: 800px;
|
max-width: 800px;
|
||||||
padding: 5em 0;
|
padding: 5em 0;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
color: #555;
|
color: #555;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
vertical-align: top;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.error__icon {
|
.error__icon {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user