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

WIP: Fixes select option overflow #163

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Next

Fixes #126, select options should fully display

  • Loading branch information
ryanml committed Sep 26, 2018
commit 1caa75026feeedfef79a23ba3e877002109054b8
@@ -53,9 +53,7 @@ exports[`Select tests basic tests matches the snapshot 1`] = `
}

.c6 {
position: absolute;
top: calc(100% + 4px);
left: 0;
position: fixed;
width: 100%;
border-radius: 3px;
box-shadow: 0 2px 5px 0 rgba(223,223,232,0.5);
@@ -83,9 +83,7 @@ export const StyledSelectText = styled<StyleProps, 'div'>('div')`
`

export const StyledOptions = styled<StyleProps, 'div'>('div')`
position: absolute;
top: calc(100% + 4px);
left: 0;
position: fixed;
width: ${p => p.showAllContents ? 'auto' : '100%'};
border-radius: 3px;
box-shadow: 0 2px 5px 0 rgba(223, 223, 232, 0.5);
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.