-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from pegasystems/feature/shortcuts
Enhancement for shortcuts to render as a list of categories
- Loading branch information
Showing
6 changed files
with
1,016 additions
and
873 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,13 +1,26 @@ | ||
import styled, { css } from 'styled-components'; | ||
|
||
export default styled.div(() => { | ||
export const SimpleContent = styled.div(() => { | ||
return css` | ||
display: grid; | ||
grid-template-columns: repeat(auto-fill, minmax(20ch, 1fr)); | ||
grid-gap: 1rem; | ||
grid-template-rows: repeat(1, 1fr); | ||
& > a { | ||
& a { | ||
margin-inline-start: 0 !important; | ||
} | ||
`; | ||
}); | ||
|
||
export const GroupedContent = styled.div(() => { | ||
return css` | ||
display: grid; | ||
grid-template-columns: repeat(auto-fit, minmax(30ch, 1fr)); | ||
grid-gap: 1rem; | ||
grid-template-rows: repeat(1, 1fr); | ||
& a { | ||
margin-inline-start: 0 !important; | ||
padding-top: 0.5rem; | ||
} | ||
`; | ||
}); |