Skip to content

Commit

Permalink
Merge pull request #4825 from FlowFuse/search-padding
Browse files Browse the repository at this point in the history
Improve padding/sizing of the global search box
  • Loading branch information
hardillb authored Nov 28, 2024
2 parents c88e070 + 8f01523 commit 511acde
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions frontend/src/components/global-search/GlobalSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,12 @@ export default {

<style scoped lang="scss">
#global-search {
padding: 0 5px;
padding: 0 12px;
display: flex;
flex: 1;
justify-content: flex-end;
.content-wrapper {
padding: 5px 10px;
position: relative;
justify-content: flex-end;
display: flex;
Expand Down Expand Up @@ -313,20 +312,20 @@ export default {
color: white;
position: absolute;
z-index: 1;
top: 5px;
top: 8px;
&.search {
left: 5px;
left: 7px;
}
&.close {
right: 5px;
right: 7px;
}
}
input {
color: transparent;
padding: 3px 25px;
padding: 6px 27px;
background: $ff-grey-700;
border-color: $ff-grey-500;
min-width: 20vw;
Expand Down

0 comments on commit 511acde

Please sign in to comment.