File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
web/scss/components/Hello Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ export default async function getProfiles(args: Arguments) {
2525
2626 return {
2727 react : (
28- < Grid hasGutter className = "codeflare--grid" >
28+ < Grid hasGutter className = "codeflare--plain- grid" span = { 3 } >
2929 { profiles . map ( ( _ ) => (
3030 < GridItem key = { _ . profile . name } >
31- < Tile isSelected className = "codeflare--tile" title = { _ . profile . name } />
31+ < Tile className = "codeflare--tile" title = { _ . profile . name } />
3232 </ GridItem >
3333 ) ) }
3434 </ Grid >
Original file line number Diff line number Diff line change 3131$gap : 3px ;
3232$cell : 1.5em ;
3333
34- @mixin Grid {
34+ @mixin MicroGrid {
3535 .pf-l-grid.codeflare--grid {
3636 @content ;
3737 }
3838}
3939
40+ @mixin Grid {
41+ .codeflare--plain-grid {
42+ @content ;
43+ }
44+ }
45+
4046@mixin Tile {
4147 .codeflare--tile {
4248 @content ;
@@ -53,6 +59,12 @@ $cell: 1.5em;
5359 font-family : var (--font-sans-serif );
5460 padding : 1em ;
5561 flex : 1 ;
62+ }
63+
64+ @include MicroGrid {
65+ font-family : var (--font-sans-serif );
66+ padding : 1em ;
67+ flex : 1 ;
5668 grid-auto-rows : max-content ;
5769 grid-template-columns : repeat (auto-fit , $cell );
5870}
You can’t perform that action at this time.
0 commit comments