Skip to content

Commit

Permalink
[#55234] Fix text filter width on project list
Browse files Browse the repository at this point in the history
  • Loading branch information
dombesz committed Sep 6, 2024
1 parent 1e067bb commit 98fd24b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/components/projects/index_sub_header_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
icon: :search,
size: :small
},
full_width: true,
input_width: :medium,
show_clear_button: true,
clear_button_id: clear_button_id,
data: filter_input_data_attributes)
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/global_styles/primer/_overrides.sass
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ sub-header,
flex-direction: column
row-gap: 1rem

#projects-index-sub-header
.FormControl-input-wrap.FormControl-input-width--medium
width: min(320px, 100vw - 2rem)

.Button.op-app-header--primer-button,
.Button.op-app-header--primer-button .Button-visual
color: var(--header-item-font-color)
Expand Down

0 comments on commit 98fd24b

Please sign in to comment.