diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-26 15:01:33 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-26 15:01:33 +0200 |
commit | 03a5e95ce184a418341c349050dfa889375da9b9 (patch) | |
tree | b396d5692929047a260b584fa1380ed180d0588d /client | |
parent | 681276a66e24efb026710acf8950d844e7463b09 (diff) | |
download | PeerTube-03a5e95ce184a418341c349050dfa889375da9b9.tar.gz PeerTube-03a5e95ce184a418341c349050dfa889375da9b9.tar.zst PeerTube-03a5e95ce184a418341c349050dfa889375da9b9.zip |
Fix font size inconsistency with ng-select
Diffstat (limited to 'client')
-rw-r--r-- | client/src/sass/ng-select.scss | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/client/src/sass/ng-select.scss b/client/src/sass/ng-select.scss index 13fc1d6c2..ba8bac5e2 100644 --- a/client/src/sass/ng-select.scss +++ b/client/src/sass/ng-select.scss | |||
@@ -12,15 +12,13 @@ $ng-select-box-shadow: #{$focus-box-shadow-form} pvar(--mainColorLightest); | |||
12 | // $ng-select-placeholder: lighten($ng-select-primary-text, 40) !default; | 12 | // $ng-select-placeholder: lighten($ng-select-primary-text, 40) !default; |
13 | $ng-select-height: 30px; | 13 | $ng-select-height: 30px; |
14 | $ng-select-value-padding-left: 15px; | 14 | $ng-select-value-padding-left: 15px; |
15 | // $ng-select-value-font-size: 0.9em !default; | 15 | $ng-select-value-font-size: 15px; |
16 | 16 | ||
17 | @import "~@ng-select/ng-select/scss/default.theme.scss"; | 17 | @import "~@ng-select/ng-select/scss/default.theme.scss"; |
18 | 18 | ||
19 | .ng-input { | ||
20 | font-size: .9em; | ||
21 | } | ||
22 | |||
23 | .ng-select { | 19 | .ng-select { |
20 | font-size: $ng-select-value-font-size; | ||
21 | |||
24 | &.ng-select-focused { | 22 | &.ng-select-focused { |
25 | &:not(.ng-select-opened) > .ng-select-container { | 23 | &:not(.ng-select-opened) > .ng-select-container { |
26 | border-color: #ccc !important; | 24 | border-color: #ccc !important; |