Skip to content

Commit

Permalink
input_mqtt: Less spacing between Delete and Show buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
christianTF committed Nov 14, 2021
1 parent 4954eba commit cf510c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/input_mqtt.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@ <h3>MQTT Collector</h3>
<div v-for="(subscription, index) in subscriptions" class="topicline" style="flex-basis:100%;width:100%" >

<div style="display:flex;flex-wrap:wrap;">
<div style="flex:10 1 auto;">
<div style="flex:10 1 0;">
<input v-model="subscription.id" placeholder="Add new subscription" v-on:input="validate(index, $event)">
</div>
<div style="padding:3px;flex:1 5">
<div style="padding:3px;flex:0 0;">
<button data-mini="true" data-inline="true" v-on:click="this.subscriptions.splice(index, 1);this.errors.splice(index,1);changedMsg();">Delete</button>
</div>
<div v-show="finderAvailable" style="padding:3px;flex:1 5">
<div v-show="finderAvailable" style="padding:3px;flex:0 0;">
<button data-mini="true" data-inline="true" v-on:click="openFinder(index)">Show</button>
</div>

Expand Down

0 comments on commit cf510c4

Please sign in to comment.