Fix scroll horizontal mobile : overflow-hidden sur SquareLines (9 carrés aspect-square dépassaient le viewport)
This commit is contained in:
parent
cb4ae6af52
commit
d97c92a20b
2 changed files with 2 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Raleway';
|
font-family: 'Raleway';
|
||||||
src: url('../fonts/Raleway-SemiBold.woff2') format('woff2');
|
src: url('../fonts/Raleway-SemiBold.woff2') format('woff2');
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
import SquareLine from "./square-line.astro";
|
import SquareLine from "./square-line.astro";
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="absolute w-full h-auto" style="z-index:-1">
|
<div class="absolute w-full h-auto overflow-hidden" style="z-index:-1">
|
||||||
<div
|
<div
|
||||||
class="absolute top-0 left-0 w-1/2 h-auto bg-neutral-100 dark:bg-neutral-800"
|
class="absolute top-0 left-0 w-1/2 h-auto bg-neutral-100 dark:bg-neutral-800"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue