Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(styling): fix some styling issues with input groups and Firefox #750

Merged
merged 1 commit into from
Aug 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions packages/common/src/styles/slick-bootstrap.scss
Original file line number Diff line number Diff line change
Expand Up @@ -442,14 +442,26 @@ ul {
overflow-y: var(--slick-frozen-overflow-right, $slick-frozen-overflow-right) !important;
}
.input-group {
display: flex;

> :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
margin-left: 0;
&.ui-slider-horizontal {
margin-left: 10px;
}
}

.input-group-append,
.input-group-prepend {
display: inline-flex;
width: auto;
}

.input-group-addon {
input {
flex: 1 1 auto;
width: 1%;
}
.input-group-text {
height: 100%;
}
Expand Down
7 changes: 7 additions & 0 deletions packages/common/src/styles/slick-editors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@
.flatpickr.input-group {
height: var(--slick-date-editor-height, $slick-date-editor-height);
.input-group-btn {
&.input-group-append {
.btn {
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
margin-left: -1px;
}
}
.btn {
background-color: #eeeeee;
border: 1px solid #cccccc;
Expand Down
6 changes: 6 additions & 0 deletions packages/common/src/styles/slick-plugins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,12 @@ input.search-filter {
// Date Picker Filter
// ----------------------------------------------

.search-filter.form-group {
.input-group.flatpickr input.form-control {
border-bottom-left-radius: 0px;
border-top-left-radius: 0px;
}
}
.search-filter .flatpickr {
input.form-control {
border-left: none;
Expand Down