Skip to content

Commit

Permalink
Minor CSS fixes for Toolbar and Searchfiled, especially on mobile and…
Browse files Browse the repository at this point in the history
… on Safari (#86)
  • Loading branch information
iPurpl3x committed Jan 27, 2022
1 parent 0a512bd commit 0f58c26
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
5 changes: 5 additions & 0 deletions resources/less/components/SearchFiled.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
position: relative;
margin-left: 15px; // Space with sort dropdown

@media @phone {
margin-left: 0;
}

// Same background as .focus to give it better visibility
background-color: @body-bg;
color: @text-color;
Expand All @@ -15,6 +19,7 @@
display: inline;
outline: none;
margin-top: -2px;
margin-bottom: -2px;
border: 0 !important;
padding: 0;
width: 100%;
Expand Down
19 changes: 19 additions & 0 deletions resources/less/components/toolbar.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
.User--directory .IndexPage-toolbar {
.IndexPage-toolbar-view {
display: inline-flex;
}

@media @phone {
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -79,3 +83,18 @@
margin-bottom: 5px;
}
}

@media @tablet-up {
.IndexPage-toolbar-action {
.item-clarkwinkelmann-mailing {
.Button {
& > .Button-icon {
margin-right: 0;
}
& > .Button-label {
display: none;
}
}
}
}
}

0 comments on commit 0f58c26

Please sign in to comment.