1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

Merge pull request #3340 from AlexSCorey/3297-smartInventoryLabel

Add padding to label list tag.

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot] 2019-03-01 16:20:09 +00:00 committed by GitHub
commit 6384e638f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 11 deletions

View File

@ -161,10 +161,6 @@ label {
font-weight: 400; font-weight: 400;
} }
.form-control {
height: 30px;
}
.btn-success{ .btn-success{
background: @default-succ; background: @default-succ;
border-color: transparent; border-color: transparent;

View File

@ -542,6 +542,7 @@ input[type='radio']:checked:before {
width: 100%; width: 100%;
.form-control { .form-control {
flex-flow: row wrap;
padding: 0 12px !important; padding: 0 12px !important;
} }

View File

@ -16,14 +16,14 @@
} }
.LabelList-tag, .JobSubmission-previewTag { .LabelList-tag, .JobSubmission-previewTag {
border-radius: 5px;
padding: 2px 10px;
font-size: 12px;
color: @default-interface-txt;
background-color: @default-list-header-bg; background-color: @default-list-header-bg;
border-radius: 5px;
color: @default-interface-txt;
display: inline-block;
font-size: 12px;
margin-right: 5px; margin-right: 5px;
max-width: 100%; max-width: 100%;
display: inline-block; padding: 2px 10px;
} }
.LabelList-seeMoreLess { .LabelList-seeMoreLess {
@ -71,7 +71,6 @@
.LabelList-name { .LabelList-name {
flex: initial; flex: initial;
max-width: 100%; max-width: 100%;
word-break: break-word;
} }
.LabelList-tag--deletable > .LabelList-name { .LabelList-tag--deletable > .LabelList-name {
@ -96,8 +95,9 @@
cursor: not-allowed; cursor: not-allowed;
background-color: @default-list-header-bg; background-color: @default-list-header-bg;
.LabelList-tag { .LabelList-tag {
color: @default-bg;
background-color: @default-icon; background-color: @default-icon;
color: @default-bg;
margin: 4px 5px 5px 5px;
} }
} }