Skip to content
This repository was archived by the owner on Mar 25, 2021. It is now read-only.

Layout adjustments for the tiniest viewport#144

Merged
micgro42 merged 1 commit into
masterfrom
adjustTinyViewportLayout
Jan 13, 2021
Merged

Layout adjustments for the tiniest viewport#144
micgro42 merged 1 commit into
masterfrom
adjustTinyViewportLayout

Conversation

@micgro42
Copy link
Copy Markdown
Collaborator

This should be merged after #143

Inspired by the styles in https://www.figma.com/file/hZpaYX0xNNhK0L7kBvN6WK/Query-Builder?node-id=2604%3A29422

The viewport breakpoint has been chosen so that the inputs don't align as next to each other again in the smallest layout.

Also, the outer padding was too large still even for larger viewports. It should be -small, not -xlarge.

Bug: T269470

@micgro42 micgro42 force-pushed the adjustTinyViewportLayout branch from 0273006 to e7af0c8 Compare January 11, 2021 10:28
Copy link
Copy Markdown
Contributor

@guergana guergana left a comment

Choose a reason for hiding this comment

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

The outer spacing of the component in desktop are now gone.

@micgro42 micgro42 force-pushed the adjustTinyViewportLayout branch from e7af0c8 to 8481a17 Compare January 12, 2021 09:31
@micgro42 micgro42 requested a review from guergana January 12, 2021 09:57
@micgro42
Copy link
Copy Markdown
Collaborator Author

The outer spacing of the component in desktop are now gone.

Fixed now, I used a spacing token instead of a layout token.

@micgro42 micgro42 dismissed guergana’s stale review January 12, 2021 09:59

Fixed. New review necessary :)

@Ladsgroup
Copy link
Copy Markdown
Contributor

I might be doing it wrong but when I pulled the branch and ran it, it still got the error in 290px:
image

@micgro42
Copy link
Copy Markdown
Collaborator Author

I might be doing it wrong but when I pulled the branch and ran it, it still got the error in 290px:
image

Yeah. that's ok. We don't support screens below 320px. We have to stop somewhere.

@Ladsgroup
Copy link
Copy Markdown
Contributor

Aha, I had the issue with 370px before and I thought it's the same. Missed the 100px difference.

@micgro42 micgro42 merged commit e06f584 into master Jan 13, 2021
@micgro42 micgro42 deleted the adjustTinyViewportLayout branch January 13, 2021 14:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants