-
Notifications
You must be signed in to change notification settings - Fork 933
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update scrollIntoView library (#1464)
- Loading branch information
1 parent
c406ab2
commit 3571528
Showing
8 changed files
with
83 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,49 @@ | ||
export const colors = ['Black', 'Red', 'Green', 'Blue', 'Orange', 'Purple', 'Pink', 'Orchid', 'Aqua', 'Lime', 'Gray', 'Brown', 'Teal', 'Skyblue'] | ||
export const colors = [ | ||
'Black', | ||
'Red', | ||
'Green', | ||
'Blue', | ||
'Orange', | ||
'Purple', | ||
'Pink', | ||
'Orchid', | ||
'Aqua', | ||
'Lime', | ||
'Gray', | ||
'Brown', | ||
'Teal', | ||
'Skyblue', | ||
] | ||
|
||
export const menuStyles = { | ||
listStyle: 'none', | ||
width: '100%', | ||
padding: '0', | ||
margin: '4px 0 0 0', | ||
maxHeight: 120, | ||
overflowY: 'scroll', | ||
} | ||
|
||
export const containerStyles = { | ||
display: 'flex', | ||
flexDirection: 'column', | ||
width: 'fit-content', | ||
justifyContent: 'center', | ||
marginTop: 100, | ||
alignSelf: 'center', | ||
} | ||
|
||
export const selectedItemsContainerSyles = { | ||
display: 'inline-flex', | ||
gap: '8px', | ||
alignItems: 'center', | ||
flexWrap: 'wrap', | ||
padding: '6px', | ||
} | ||
|
||
export const selectedItemStyles = { | ||
backgroundColor: 'lightgray', | ||
paddingLeft: '4px', | ||
paddingRight: '4px', | ||
borderRadius: '6px', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters