X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FNews.vue;h=8f03b3afb8531f0a12d8b4da164ea0921500a109;hb=0c76fa56cb55a80edc1eda6abb444fd05f29c5f4;hp=325d491ee196ddcd86834c4aac30d2144805b119;hpb=bd76b45611cbb58dcf774745a4d690277a82aacd;p=vchess.git diff --git a/client/src/views/News.vue b/client/src/views/News.vue index 325d491e..8f03b3af 100644 --- a/client/src/views/News.vue +++ b/client/src/views/News.vue @@ -13,7 +13,7 @@ main #dialog.text-center {{ st.tr[infoMsg] }} .row .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2 - button( + button#writeNews( v-if="devs.includes(st.user.id)" @click="showModalNews" ) @@ -166,13 +166,17 @@ textarea#newsContent #dialog padding: 5px color: blue +button#writeNews + margin-top: 0 + margin-bottom: 0 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)