Unverified Commit 0564fc09 authored by aschaap's avatar aschaap Committed by GitHub

Reducing tag input excessive padding; fixes #3915 (#3927)

* Removed !important and added rules to style tags input; fixes #3915

* Simplifying what @rigelk was achieving with !important in 149e4cc5

* Compressed CSS selectors
Co-authored-by: Rigel Kent's avatarRigel Kent <par@rigelk.eu>
Co-authored-by: Rigel Kent's avatarRigel Kent <par@rigelk.eu>
parent b70025bf
......@@ -11,7 +11,7 @@ $ng-select-highlight: #f2690d;
$ng-select-box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest);
// $ng-select-placeholder: lighten($ng-select-primary-text, 40) !default;
$ng-select-height: 30px;
// $ng-select-value-padding-left: 10px !default;
$ng-select-value-padding-left: 15px;
// $ng-select-value-font-size: 0.9em !default;
@import "~@ng-select/ng-select/scss/default.theme.scss";
......@@ -20,11 +20,6 @@ $ng-select-height: 30px;
font-size: .9em;
}
.ng-input,
.ng-select .ng-select-container .ng-value-container {
padding-left: 15px !important;
}
.ng-select {
&.ng-select-focused {
&:not(.ng-select-opened) > .ng-select-container {
......@@ -44,4 +39,11 @@ $ng-select-height: 30px;
&.ng-select-single .ng-value-container .ng-value {
color: pvar(--inputForegroundColor);
}
&.ng-select-multiple .ng-select-container .ng-value-container {
padding-left: 12px;
.ng-value {
margin-left: 3px;
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment