Adjust some margins. TODO: align aboveBoard in problems as aboveBoard in Game page
authorBenjamin Auder <benjamin.auder@somewhere>
Sat, 15 Feb 2020 23:57:02 +0000 (00:57 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Sat, 15 Feb 2020 23:57:02 +0000 (00:57 +0100)
client/src/views/News.vue
client/src/views/Problems.vue

index 325d491..8a3de76 100644 (file)
@@ -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)
index 7c81e67..97e8c8e 100644 (file)
@@ -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