ARTEMIS-3568 smaller dropdownbox and button on same row

This commit is contained in:
Erwin Dondorp 2021-11-12 00:47:03 +01:00 committed by clebertsuconic
parent 0722b3c570
commit 6ea4146228
2 changed files with 8 additions and 4 deletions

View File

@ -90,12 +90,14 @@ var Artemis;
<div hawtio-editor="$ctrl.message.message" mode="codeMirrorOptions.mode.name"></div>
</div>
<div class="form-group">
<select class="form-control artemis-send-message-format" ng-model="codeMirrorOptions.mode.name">
<select class="form-control artemis-send-message-format" ng-model="codeMirrorOptions.mode.name"
style="display:inline; width:auto">
<option value="javascript">JSON</option>
<option value="xml">XML</option>
</select>
<button class="btn btn-default" ng-click="$ctrl.message.formatMessage()"
title="Automatically pretty prints the message so it's easier to read">Format
title="Automatically pretty prints the message so it's easier to read"
style="vertical-align: initial">Format
</button>
</div>
</form>

View File

@ -90,12 +90,14 @@ var Artemis;
<div hawtio-editor="$ctrl.message.message" mode="codeMirrorOptions.mode.name"></div>
</div>
<div class="form-group">
<select class="form-control artemis-send-message-format" ng-model="codeMirrorOptions.mode.name">
<select class="form-control artemis-send-message-format" ng-model="codeMirrorOptions.mode.name"
style="display:inline; width:auto">
<option value="javascript">JSON</option>
<option value="xml">XML</option>
</select>
<button class="btn btn-default" ng-click="$ctrl.message.formatMessage()"
title="Automatically pretty prints the message so it's easier to read">Format
title="Automatically pretty prints the message so it's easier to read"
style="vertical-align: initial">Format
</button>
</div>
</form>