Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Adds flex-wrap to the property filter header #2888

Merged
merged 2 commits into from
Oct 17, 2024

Conversation

orangevolon
Copy link
Contributor

Description

Fixes the property filter component overflowing its container in small screens.

Related links, issue #, if available: AWSUI-59283

How has this been tested?

Visual tests dev pipeline.

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@@ -15,6 +15,8 @@ $operator-field-width: 120px;
.search-field {
display: flex;
align-items: flex-end;
flex-wrap: wrap;
gap: awsui.$space-xs awsui.$space-s;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Row spacing: For the vertical spacing when items are wrapped.
  2. Column spacing: Replacing the margin-inline-end in line 179

@orangevolon orangevolon marked this pull request as ready for review October 17, 2024 10:14
@orangevolon orangevolon requested a review from a team as a code owner October 17, 2024 10:14
@orangevolon orangevolon requested review from dpitcock and removed request for a team October 17, 2024 10:14
Copy link

codecov bot commented Oct 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.20%. Comparing base (a0670ee) to head (8e5bfce).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #2888    +/-   ##
========================================
  Coverage   96.20%   96.20%            
========================================
  Files         761      761            
  Lines       21447    21447            
  Branches     6940     7329   +389     
========================================
  Hits        20633    20633            
  Misses        806      806            
  Partials        8        8            

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@orangevolon orangevolon added this pull request to the merge queue Oct 17, 2024
Merged via the queue into main with commit a783fec Oct 17, 2024
38 checks passed
@orangevolon orangevolon deleted the alamiami/fix-overflowing-content-in-small-screens branch October 17, 2024 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants