diff --git a/hwe/scss/history.scss b/hwe/scss/history.scss new file mode 100644 index 00000000..e78a16eb --- /dev/null +++ b/hwe/scss/history.scss @@ -0,0 +1,42 @@ +@import "./common/bootstrap5.scss"; +@import "./editor_component.scss"; +@import "./util.scss"; + +@include media-1000px { + #container { + width: 1000px; + margin: 0 auto; + padding: 0; + } + .year-selector{ + margin-left: 100%/24*5; + } + + .map_position{ + flex: 0 0 auto; + width: 700px; + } + + .nation_position{ + flex: 0 0 auto; + width: 300px; + } +} + +@include media-500px { + #container { + width: 500px; + margin: 0 auto; + padding: 0; + } + + .map_position{ + flex: 0 0 auto; + width: 100%; + } + + .nation_position{ + flex: 0 0 auto; + width: 100%; + } +} diff --git a/hwe/ts/PageHistory.vue b/hwe/ts/PageHistory.vue index 48c4f52a..223fba80 100644 --- a/hwe/ts/PageHistory.vue +++ b/hwe/ts/PageHistory.vue @@ -1,25 +1,53 @@