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

Various Filter QA changes to styles #738

Merged
merged 5 commits into from
Apr 6, 2023
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
17 changes: 8 additions & 9 deletions client/src/styles/Multiselect.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,19 @@
outline: 2px $justfix-orange solid;
outline-offset: -2px;
}
}
input {
border: none;
margin-top: 3px;
background: transparent;
&:focus {
outline: none;
input {
border: none;
background: transparent;
height: 100%;
width: 100%;
&:focus {
outline: none;
}
}
}
.chip {
padding: 4px 10px;
background: #0096fb;
margin-right: 5px;
margin-bottom: 5px;
border-radius: 11px;
display: inline-flex;
align-items: center;
Expand Down
10 changes: 7 additions & 3 deletions client/src/styles/PortfolioFilters.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
.filter-toggle {
gap: 1rem;
padding: 1rem;
letter-spacing: 0.02em;
.checkbox {
box-sizing: border-box;
border: 0.1rem solid $justfix-black;
Expand Down Expand Up @@ -328,8 +329,9 @@
outline-offset: -2px;
}
input {
width: -webkit-fill-available;
height: -webkit-fill-available;
&::placeholder {
color: $justfix-grey-600;
}
}
}

Expand All @@ -341,7 +343,7 @@
.selectedListContainer {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
gap: 0.6rem;

.chip {
align-self: flex-start;
Expand All @@ -368,6 +370,7 @@
border: 1px solid $justfix-black;
padding: 0.8rem 0.6rem;
margin-bottom: 1.1rem;
letter-spacing: 0.02em;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the base font-size the em is referencing here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's referring to the font size of the element, rather than the base. And it's 14px (1.4rem), which is set in the multi-select component.

}
}
}
Expand All @@ -386,6 +389,7 @@
.button.is-primary {
align-self: center;
margin: 0.9rem 0 1rem 0;
letter-spacing: 0.02em;
}
@include for-phone-only() {
.minmax-container .button.is-primary {
Expand Down