UX: admin controls alignment (#125)

This commit is contained in:
Kris 2022-04-15 11:22:47 -04:00 committed by GitHub
parent eaa7de8c2b
commit e3426c40fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 9 deletions

View File

@ -1,6 +1,6 @@
<div id="admin-plugin-chat"> <div id="admin-plugin-chat">
<div class="admin-controls"> <div class="admin-controls">
<div class="span15"> <div class="admin-controls-chat-providers">
<ul class="nav nav-pills"> <ul class="nav nav-pills">
{{#each model as |provider|}} {{#each model as |provider|}}
{{nav-item {{nav-item
@ -12,7 +12,6 @@
</ul> </ul>
</div> </div>
<div class="pull-right">
{{d-button {{d-button
action=(route-action "showSettings") action=(route-action "showSettings")
icon="cog" icon="cog"
@ -20,7 +19,6 @@
label="chat_integration.settings" label="chat_integration.settings"
}} }}
</div> </div>
</div>
{{#unless model.totalRows}} {{#unless model.totalRows}}
{{i18n "chat_integration.no_providers"}} {{i18n "chat_integration.no_providers"}}

View File

@ -47,6 +47,17 @@
overflow: auto; overflow: auto;
} }
} }
.admin-controls {
padding: 10px;
.nav-pills {
padding: 0;
}
}
}
.admin-controls-chat-providers {
margin-right: auto;
} }
#chat-integration-edit-channel-modal, #chat-integration-edit-channel-modal,