Skip to content

Commit

Permalink
UX: Style adjustments and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanvidrine committed Nov 9, 2023
1 parent e20a36d commit d5147e4
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions common/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,22 @@ $max-width: 600px;
position: relative;
display: flex;
flex-wrap: wrap;
.d-icon-search {
margin: 0;
}
.browser-search-tip {
display: none;
}
input[type="text"] {
.search-input input#search-term[type="text"] {
margin: 0;
width: 100%;
padding-right: 4em;
padding-left: 2.25em;
}
}

.search-input {
flex: 1 1 auto;
margin: 0;
padding: 0;
.searching {
// spinner
top: 0.4em;
Expand All @@ -75,15 +77,10 @@ $max-width: 600px;
.btn.search-icon {
position: absolute;
z-index: 2;
order: 2;
right: 0;
background: transparent;
padding-top: 0.6em;
line-height: 1;
color: var(--primary-high);
.d-icon {
margin: 0 0 0 0.33em;
}
color: var(--primary-medium);
height: 100%;
.discourse-no-touch & {
&:hover {
background: transparent;
Expand All @@ -108,7 +105,7 @@ $max-width: 600px;
margin-left: auto;
margin-right: auto;
left: 0;
top: 2.4em;
top: 2.75em;
right: 0;
padding: 0.5em;
@include breakpoint(mobile-extra-large) {
Expand All @@ -119,6 +116,9 @@ $max-width: 600px;
list-style-type: none;
margin: 0;
}
.d-icon-search {
display: none;
}
}

.searching a.show-advanced-search {
Expand Down

0 comments on commit d5147e4

Please sign in to comment.