This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git

commit 6ea414622889763badd0f6091e480bb3836a3aa9
Author: Erwin Dondorp <[email protected]>
AuthorDate: Fri Nov 12 00:47:03 2021 +0100

    ARTEMIS-3568 smaller dropdownbox and button on same row
---
 .../src/main/webapp/plugin/js/components/addressSendMessage.js      | 6 ++++--
 .../src/main/webapp/plugin/js/components/sendMessage.js             | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git 
a/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/components/addressSendMessage.js
 
b/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/components/addressSendMessage.js
index 6fc17c6..0538ae3 100644
--- 
a/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/components/addressSendMessage.js
+++ 
b/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/components/addressSendMessage.js
@@ -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>
diff --git 
a/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/components/sendMessage.js
 
b/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/components/sendMessage.js
index 6705e21..e4b9cac 100644
--- 
a/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/components/sendMessage.js
+++ 
b/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/components/sendMessage.js
@@ -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>

Reply via email to