mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 05:18:34 +03:00
move card to left in narrative mode
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
@import 'burger';
|
||||
@import 'card';
|
||||
|
||||
$card-width: 500px;
|
||||
$card-width: 370px;
|
||||
$narrative-info-max-height: 250px;
|
||||
$timeline-height: 170px;
|
||||
|
||||
.card-stack {
|
||||
position: absolute;
|
||||
@@ -15,6 +17,13 @@ $card-width: 500px;
|
||||
color: white;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
|
||||
&.narrative-mode {
|
||||
right: auto;
|
||||
left: 10px;
|
||||
top: $narrative-info-max-height;
|
||||
height: calc(100% - #{$narrative-info-max-height} - #{$timeline-height});
|
||||
}
|
||||
|
||||
&.full-height {
|
||||
max-height: calc(100% - 20px);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user