Toolbar: better handle breakpoint styling

This commit is contained in:
rektdeckard
2020-08-21 03:21:04 -04:00
parent 208c0ba5b7
commit 6b7a594191
6 changed files with 13 additions and 7 deletions

View File

@@ -23,11 +23,10 @@
input.color-input {
position: relative;
height: 100%;
width: 96%;
width: 100%;
box-sizing: border-box;
border: none;
border-radius: 8px;
margin: 0 0 0 4px;
padding: 0;
cursor: pointer;
}

View File

@@ -3,7 +3,6 @@
flex: 2;
align-items: center;
height: 48px;
margin: 0 4px;
padding: 0 24px;
border-radius: 8px;
color: white;

View File

@@ -31,7 +31,7 @@ const SearchInput: React.FC<SearchInputProps> = () => {
type="text"
autoComplete="off"
value={value}
placeholder="Search for an icon"
placeholder="Search"
onChange={({ currentTarget }) => setValue(currentTarget.value)}
/>
{value ? (

View File

@@ -4,7 +4,6 @@
flex: 2;
align-items: center;
height: 48px;
margin: 0 4px;
padding: 0 24px;
color: white;
border-radius: 8px;

View File

@@ -19,7 +19,6 @@
width: 176px !important;
height: 48px !important;
justify-content: flex-start;
margin: 0 4px;
padding: 0 24px !important;
color: white;
border-radius: 8px !important;
@@ -28,6 +27,12 @@
border: none !important;
}
@media screen and (max-width: 558px) {
.react-dropdown-select {
width: 100% !important;
}
}
.react-dropdown-select-content {
display: flex;
align-items: center;

View File

@@ -14,9 +14,13 @@ menu.toolbar {
.toolbar-contents {
width: 83.33%;
max-width: 1120px;
padding: 8px 0;
padding: 0 0 8px;
display: flex;
flex-flow: wrap;
align-items: center;
justify-content: space-between;
}
.toolbar-contents > * {
margin: 8px 4px 0;
}