Skip to content

Commit

Permalink
ARTEMIS-3568 smaller dropdownbox and button on same row
Browse files Browse the repository at this point in the history
(cherry picked from commit 6ea4146)
  • Loading branch information
Erwin Dondorp authored and clebertsuconic committed Jan 24, 2022
1 parent 00eb38a commit d2acf8b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit d2acf8b

Please sign in to comment.