mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 16:55:37 +02:00
feat(web): Add more Grid columns
This commit is contained in:
@@ -9,6 +9,49 @@ import { Stack, Grid } from "../solidjs/index.ts";
|
|||||||
stackGap="0px"
|
stackGap="0px"
|
||||||
>
|
>
|
||||||
<div class="flex justify-center items-center flex-col">
|
<div class="flex justify-center items-center flex-col">
|
||||||
<Grid smGridColumns={8} mdGridColumns={10} lgGridColumns={12} />
|
<Grid
|
||||||
|
style={{ "border-bottom": "none" }}
|
||||||
|
crossRow={1}
|
||||||
|
crossColumn={0}
|
||||||
|
smGridColumns={8}
|
||||||
|
mdGridColumns={10}
|
||||||
|
lgGridColumns={12}
|
||||||
|
/>
|
||||||
|
<Grid
|
||||||
|
class="before:!border-t-0"
|
||||||
|
style={{ "border-bottom": "none" }}
|
||||||
|
smGridColumns={1}
|
||||||
|
mdGridColumns={1}
|
||||||
|
lgGridColumns={3}
|
||||||
|
heroHeading={true}
|
||||||
|
/>
|
||||||
|
<Grid
|
||||||
|
style={{ "border-bottom": "none" }}
|
||||||
|
class="before:!border-t-0"
|
||||||
|
smGridColumns={8}
|
||||||
|
mdGridColumns={10}
|
||||||
|
lgGridColumns={12}
|
||||||
|
/>
|
||||||
|
<Grid
|
||||||
|
style={{ "border-bottom": "none" }}
|
||||||
|
class="before:!border-t-0"
|
||||||
|
smGridColumns={8}
|
||||||
|
mdGridColumns={10}
|
||||||
|
lgGridColumns={12}
|
||||||
|
/>
|
||||||
|
<Grid
|
||||||
|
style={{ "border-bottom": "none" }}
|
||||||
|
class="before:!border-t-0"
|
||||||
|
smGridColumns={8}
|
||||||
|
mdGridColumns={10}
|
||||||
|
lgGridColumns={12}
|
||||||
|
/>
|
||||||
|
<Grid
|
||||||
|
style={{ "border-bottom": "none" }}
|
||||||
|
class="before:!border-t-0"
|
||||||
|
smGridColumns={8}
|
||||||
|
mdGridColumns={10}
|
||||||
|
lgGridColumns={12}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
@@ -135,6 +135,11 @@
|
|||||||
display: contents;
|
display: contents;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.grid_headingGrid {
|
||||||
|
grid-template-columns: calc(var(--column-width) / 4) 1fr calc(var(--column-width) / 4) !important;
|
||||||
|
text-wrap: balance;
|
||||||
|
}
|
||||||
|
|
||||||
.grid_gridGuide {
|
.grid_gridGuide {
|
||||||
inset: 0;
|
inset: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -145,6 +150,7 @@
|
|||||||
border: var(--guide-width) solid var(--guide-color);
|
border: var(--guide-width) solid var(--guide-color);
|
||||||
border-left: none;
|
border-left: none;
|
||||||
border-top: none;
|
border-top: none;
|
||||||
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 400px) {
|
@media screen and (max-width: 400px) {
|
||||||
|
|||||||
Reference in New Issue
Block a user