diff --git a/src/components/combat/DemoOverlay.vue b/src/components/combat/DemoOverlay.vue index 6dd34870..5925700c 100644 --- a/src/components/combat/DemoOverlay.vue +++ b/src/components/combat/DemoOverlay.vue @@ -1,11 +1,8 @@ @@ -63,28 +67,28 @@ bottom: 0; width: calc(100% - 30px); z-index: 999; + display: flex; + justify-content: center; + align-items: center; - .banner { - padding: 20px; + padding: 25px; box-shadow: 0px 0px 15px $black; - transition: bottom .5s linear; + max-width: 800px; - &.hide { - display:none; - } - .d-flex { - gap: 15px; + .content { + padding: 0; .button { - min-width: 250px; + flex-grow: 1; + min-width: fit-content; } } } .toggle { - position: absolute; - top: -50px; - right: 5px; + position: fixed; + bottom: 20px; + right: 20px; height: 50px; width: 50px; z-index: 97; @@ -94,6 +98,7 @@ cursor: pointer; line-height: 50px; color:$neutral-1 !important; + border-radius: 50%; i { transition: transform .5s linear; @@ -105,4 +110,17 @@ } } } +@media only screen and (max-width: 576px) { + .demo { + .banner { + .content { + flex-direction: column; + } + } + .toggle { + bottom: 70px; + right: 10px; + } + } + } \ No newline at end of file diff --git a/src/components/combat/Turns.vue b/src/components/combat/Turns.vue index 2386ca2d..b032dad2 100644 --- a/src/components/combat/Turns.vue +++ b/src/components/combat/Turns.vue @@ -103,7 +103,13 @@ - {{ encounter.name }} + + + Create Account + Create custom content + diff --git a/src/views/RunEncounter.vue b/src/views/RunEncounter.vue index 38eeee6c..c605755f 100644 --- a/src/views/RunEncounter.vue +++ b/src/views/RunEncounter.vue @@ -78,8 +78,6 @@ /> - - @@ -108,6 +106,7 @@ +
@@ -115,7 +114,7 @@ - + Build custom encounter
@@ -551,7 +550,7 @@ export default { "turns turns turns" "current targets targeted"; } - #side_container { + .side { display: none; } } @@ -559,7 +558,7 @@ export default { .desktop { grid-template-columns: 1fr 1fr; grid-template-areas: - "turns turns turns" + "turns turns" "current targets"; } }