Skip to content

Commit

Permalink
fix(styling): Compound Filter Operator dropdown too wide in BS4
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Dec 6, 2020
1 parent bc9f234 commit 9cb5750
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/common/src/styles/_variables.scss
Expand Up @@ -652,10 +652,11 @@ $editor-modal-validation-summary-font-size: 13px !default;
$editor-modal-validation-summary-font-style: italic !default;

/* Compound Filters */
$compound-filter-bgcolor: #ffffff !default;
$compound-filter-operator-select-font-family: Consolas, "Lucida Console" !default; // use a monospace font so the operator descriptions are all aligned
$compound-filter-operator-select-font-size: 14px !important !default;
$compound-filter-operator-select-border: 1px solid #{lighten($primary-color, 15%)} !default;
$compound-filter-bgcolor: #ffffff !default;
$compound-filter-operator-select-width: 25px !default;
$compound-filter-operator-border-radius: 4px 0 0 4px !default;
$compound-filter-border-radius: 0 4px 4px 0 !default;
$compound-filter-text-weight: bold !default;
Expand Down
1 change: 1 addition & 0 deletions packages/common/src/styles/slick-plugins.scss
Expand Up @@ -716,6 +716,7 @@
font-family: $compound-filter-operator-select-font-family;
font-size: $compound-filter-operator-select-font-size;
border: $compound-filter-operator-select-border;
width: $compound-filter-operator-select-width;

&.form-control {
cursor: pointer;
Expand Down

0 comments on commit 9cb5750

Please sign in to comment.