Skip to content

Commit

Permalink
Merge pull request #599 from Neovici/feat/omnitable-header-styles
Browse files Browse the repository at this point in the history
feat: adjust header styles
  • Loading branch information
megheaiulian authored Nov 23, 2023
2 parents 56ed01f + 4cc16d4 commit 7e8fd04
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 14 deletions.
13 changes: 2 additions & 11 deletions cosmoz-omnitable-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,19 +155,10 @@ export default css`
--cosmoz-omnitable-header-font-size,
16px
);
--cosmoz-input-label-text-transform: var(--cosmoz-omnitable-header-text-transform, none);
--cosmoz-input-label-font-weight: var(--cosmoz-omnitable-header-font-weight, normal);
}
cosmoz-autocomplete-ui::part(input-label) {
text-transform: var(--cosmoz-omnitable-header-text-transform, none);
font-weight: var(--cosmoz-omnitable-header-font-weight, normal);
font-family: var(
--cosmoz-omnitable-header-font-family,
'Roboto',
'Noto',
sans-serif
);
font-size: var(--cosmoz-omnitable-header-font-size, 16px);
}
cosmoz-omnitable-header-row {
white-space: nowrap;
}
Expand Down
4 changes: 4 additions & 0 deletions lib/cosmoz-omnitable-date-range-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ class DateRangeInput extends dateInputMixin(
--iron-icon-width: 0;
display: block;
}
cosmoz-input {
--paper-font-subhead_-_font-size: 16px;
margin-bottom: 6px;
}
</style>
<cosmoz-clear-button
@click=${() => this.resetFilter()}
Expand Down
4 changes: 4 additions & 0 deletions lib/cosmoz-omnitable-datetime-range-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ class DatetimeRangeInput extends dateInputMixin(
--iron-icon-width: 0;
display: block;
}
cosmoz-input {
--paper-font-subhead_-_font-size: 16px;
margin-bottom: 6px;
}
</style>
<cosmoz-clear-button
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7e8fd04

Please sign in to comment.