From feae89d39c446311f78a24b597b6b1ffbf5e1018 Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Sun, 16 Feb 2020 00:57:02 +0100 Subject: [PATCH] Adjust some margins. TODO: align aboveBoard in problems as aboveBoard in Game page --- client/src/views/News.vue | 5 +++-- client/src/views/Problems.vue | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/client/src/views/News.vue b/client/src/views/News.vue index 325d491e..8a3de76d 100644 --- a/client/src/views/News.vue +++ b/client/src/views/News.vue @@ -168,11 +168,12 @@ textarea#newsContent color: blue span.ndt color: darkblue - padding-right: 5px + padding: 0 5px 0 var(--universal-margin) .margintop margin-top: 25px -.news border-top: 1px solid grey +.news + padding-top: 10px & > div display: inline-block @media screen and (max-width: 767px) diff --git a/client/src/views/Problems.vue b/client/src/views/Problems.vue index 7c81e678..97e8c8e9 100644 --- a/client/src/views/Problems.vue +++ b/client/src/views/Problems.vue @@ -39,7 +39,7 @@ main button(@click="sendProblem()") {{ st.tr["Send"] }} #dialog.text-center {{ st.tr[infoMsg] }} .row(v-if="showOne") - .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2 + .col-sm-12.col-md-9.col-md-offset-3.col-lg-10.col-lg-offset-2 #topPage span {{ curproblem.vname }} button.marginleft(@click="backToList()") {{ st.tr["Back to list"] }} @@ -339,6 +339,7 @@ textarea #topPage span font-weight: bold + padding-left: var(--universal-margin) margin: 0 auto & > .nomargin margin: 0 -- 2.44.0