UI bug fix

This commit is contained in:
sairaj mote 2022-05-26 23:43:12 +05:30
parent a5b6ab41be
commit 8f8bfcad85
3 changed files with 26 additions and 11 deletions

View File

@ -1292,17 +1292,24 @@ theme-toggle {
position: -webkit-sticky; position: -webkit-sticky;
position: sticky; position: sticky;
top: 0; top: 0;
display: flex; display: grid;
flex-direction: column; grid-template-rows: 1fr auto;
padding: 1.5rem; padding: 1.5rem;
width: 20rem; width: 20rem;
height: 100vh; height: 100vh;
overflow-y: overlay; }
#article_map {
display: flex;
flex-direction: column;
height: 100%;
overflow-y: hidden;
} }
#article_map_container { #article_map_container {
margin-top: 1.5rem; margin: 1.5rem 0;
margin-bottom: 3rem; height: 100%;
overflow-y: auto;
} }
.heading-shortcut.active { .heading-shortcut.active {
@ -1327,6 +1334,7 @@ theme-toggle {
#action_panel { #action_panel {
position: relative; position: relative;
flex: 1;
} }
#article_body { #article_body {

2
css/main.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -1213,16 +1213,22 @@ theme-toggle {
#article_aside { #article_aside {
position: sticky; position: sticky;
top: 0; top: 0;
display: flex; display: grid;
flex-direction: column; grid-template-rows: 1fr auto;
padding: 1.5rem; padding: 1.5rem;
width: 20rem; width: 20rem;
height: 100vh; height: 100vh;
overflow-y: overlay; }
#article_map {
display: flex;
flex-direction: column;
height: 100%;
overflow-y: hidden;
} }
#article_map_container { #article_map_container {
margin-top: 1.5rem; margin: 1.5rem 0;
margin-bottom: 3rem; height: 100%;
overflow-y: auto;
} }
.heading-shortcut { .heading-shortcut {
&.active { &.active {
@ -1246,6 +1252,7 @@ theme-toggle {
#action_panel { #action_panel {
position: relative; position: relative;
flex: 1;
} }
#article_body { #article_body {
margin-top: 1rem; margin-top: 1rem;