From: Benjamin Auder Date: Sat, 15 Feb 2020 23:57:02 +0000 (+0100) Subject: Adjust some margins. TODO: align aboveBoard in problems as aboveBoard in Game page X-Git-Url: https://git.auder.net/pieces/Cwda/img/cross.svg?a=commitdiff_plain;h=feae89d39c446311f78a24b597b6b1ffbf5e1018;p=vchess.git Adjust some margins. TODO: align aboveBoard in problems as aboveBoard in Game page --- 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