Skip to content

Commit

Permalink
adjust for firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmmcken committed Sep 1, 2023
1 parent d733054 commit 2de2418
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion packages/iris-grid/src/FilterInputField.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,18 @@
width: auto;
height: 100%;
border: $input-border-width solid;
padding: 6px 2px 3px 3px;
padding: 3px 2px 3px 3px;
margin-right: 24px; // leave space for filter-button
overflow: hidden;
visibility: hidden;
white-space: nowrap;
grid-area: 1 / 1;
font: IrisGrid.$iris-grid-font;
font-feature-settings: IrisGrid.$iris-grid-font-feature-settings;

@-moz-document url-prefix() {
font-feature-settings: normal;
}
}

.iris-grid-input-field {
Expand All @@ -42,6 +48,13 @@
font: IrisGrid.$iris-grid-font;
font-feature-settings: IrisGrid.$iris-grid-font-feature-settings;

@-moz-document url-prefix() {
// Firefox doesn't support font-feature-settings on canvas
// so we shouldn't use it here either
// https://bugzilla.mozilla.org/show_bug.cgi?id=1580953
font-feature-settings: normal;
}

&.iris-grid-has-filter {
// same as filter-bar-expanded-active-bg
background: scale-color($primary, $saturation: -75%, $lightness: -60%);
Expand Down

0 comments on commit 2de2418

Please sign in to comment.