From: Benjamin Auder Date: Tue, 18 Feb 2020 17:41:51 +0000 (+0100) Subject: Better placement for closing label on writeNews page X-Git-Url: https://git.auder.net/doc/html/%7B%7B%20asset%28%27mixstore/images/img/cross.svg?a=commitdiff_plain;h=23e1fa0775c5c8e6c5cacacef5031c470aafd47c;p=vchess.git Better placement for closing label on writeNews page --- diff --git a/client/src/views/News.vue b/client/src/views/News.vue index ad0561a6..5b2c80fe 100644 --- a/client/src/views/News.vue +++ b/client/src/views/News.vue @@ -5,7 +5,7 @@ main role="dialog" data-checkbox="modalNews" ) - .card + .card#writeNews label.modal-close(for="modalNews") textarea#newsContent( v-model="curnews.content" @@ -16,7 +16,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#writeNews( + button#writeNewsBtn( v-if="devs.includes(st.user.id)" @click="showModalNews" ) @@ -162,7 +162,10 @@ textarea#newsContent padding: 5px color: blue -button#writeNews +#writeNews + padding-top: 50px + +button#writeNewsBtn margin-top: 0 margin-bottom: 0