Browse Source

fixed: delete button margin

pull/44/head
Bramble Xu 6 years ago
parent
commit
f240ef4478
2 changed files with 4 additions and 7 deletions
  1. 9
      app/server/static/css/forum.css
  2. 2
      app/server/templates/admin/label.html

9
app/server/static/css/forum.css

@ -447,12 +447,9 @@ p {
padding-bottom: 0.75rem;
}
.mrrem025 {
margin-right: 0.25rem;
}
.mlrem-0375 {
margin-left:-.375rem;
.tweaked-margin {
margin-left: -0.4rem !important;
margin-right: 0.3rem !important;
}
/* Margin Auto */

2
app/server/templates/admin/label.html

@ -21,7 +21,7 @@
<div class="control" v-for="label in labels">
<div class="tags has-addons">
<span class="tag is-medium" v-bind:style="{ color: label.text_color, 'background-color': label.background_color }">
<button class="delete is-small mrrem025 mlrem-0375" @click="removeLabel(label)"></button>
<button class="delete is-small tweaked-margin" @click="removeLabel(label)"></button>
[[ label.text ]]
</span>
<span class="tag is-medium">[[ label.shortcut ]]</span>

Loading…
Cancel
Save