Fix submap positioning
This commit is contained in:
@@ -33,8 +33,7 @@ $legend-color: $post-color;
|
||||
/* Panels movements */
|
||||
&.with-feed {
|
||||
#submap {
|
||||
width: calc(100% - #{$panel-width});
|
||||
min-width: calc(100% - #{$panel-width-max});
|
||||
width: calc(100% - min(#{$panel-width}, #{$panel-width-max}));
|
||||
}
|
||||
|
||||
#feed {
|
||||
@@ -58,8 +57,8 @@ $legend-color: $post-color;
|
||||
|
||||
&.with-settings {
|
||||
#submap {
|
||||
width: calc(100% - #{$panel-width});
|
||||
min-width: calc(100% - #{$panel-width-max});
|
||||
width: calc(100% - min(#{$panel-width}, #{$panel-width-max}));
|
||||
left: min(#{$panel-width}, #{$panel-width-max});
|
||||
}
|
||||
|
||||
#settings {
|
||||
@@ -83,8 +82,8 @@ $legend-color: $post-color;
|
||||
|
||||
&.with-feed.with-settings {
|
||||
#submap {
|
||||
width: calc(100% - #{$panel-width} * 2);
|
||||
min-width: calc(100% - #{$panel-width-max} * 2);
|
||||
left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#title {
|
||||
@@ -107,12 +106,13 @@ $legend-color: $post-color;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
transition: width 0.5s, left 0.5s;
|
||||
|
||||
.loader {
|
||||
position: absolute;
|
||||
font-size: 3em;
|
||||
top: calc(50% - 0.5em);
|
||||
left: calc(50% - 0.66666em);
|
||||
left: calc(50% - 1.25em/2);
|
||||
color: #CCC;
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user