mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
fix(web): Fix responsiveness issues
This commit is contained in:
@@ -12,30 +12,3 @@ import { Stack, Grid } from "../solidjs/index.ts";
|
|||||||
<Grid smGridColumns={8} mdGridColumns={10} lgGridColumns={12} />
|
<Grid smGridColumns={8} mdGridColumns={10} lgGridColumns={12} />
|
||||||
</div>
|
</div>
|
||||||
</Stack>
|
</Stack>
|
||||||
<style>
|
|
||||||
.grid_system {
|
|
||||||
--max-width: 1080px;
|
|
||||||
--min-width: 250px;
|
|
||||||
--guide-width: 1px;
|
|
||||||
--horizontal-margin: 2rem;
|
|
||||||
--grid-system-width: 100vw;
|
|
||||||
--guide-color: var(--color-gray-200);
|
|
||||||
--cross-color: var(--color-gray-600);
|
|
||||||
display: flex;
|
|
||||||
position: relative;
|
|
||||||
flex-direction: column;
|
|
||||||
max-width: var(--max-width);
|
|
||||||
min-width: var(--min-width);
|
|
||||||
margin-top: var(--guide-width);
|
|
||||||
margin-left: var(--guide-width);
|
|
||||||
}
|
|
||||||
.grid_system::before {
|
|
||||||
position: absolute;
|
|
||||||
inset: 0;
|
|
||||||
left: calc(-1 * var(--guide-width));
|
|
||||||
top: calc(-1 * var(--guide-width));
|
|
||||||
content: "";
|
|
||||||
border: var(--guide-width) solid var(--guide-color);
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import HeroComponent from "../components/astro/HeroComponent.astro";
|
|||||||
---
|
---
|
||||||
|
|
||||||
<Layout>
|
<Layout>
|
||||||
<main class="container py-20">
|
<main class="py-20">
|
||||||
<HeroComponent />
|
<HeroComponent />
|
||||||
</main>
|
</main>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|||||||
Reference in New Issue
Block a user