api/gaufre: make sure the popup is shown in the viewport

small test that anchors the popup to the left of the viewport, this
quickly fixes the popup going out of viewport if the Gaufre button is
used on the left of a header bar
This commit is contained in:
Emmanuel Pelletier
2024-05-07 22:11:54 +02:00
parent 087bc5a889
commit 63d34d2315
3 changed files with 11 additions and 4 deletions

View File

@@ -150,7 +150,11 @@ const routes = [
}}
>
<div style={{ display: "flex", justifyContent: "space-between" }}>
<h1>Test de la Gaufre</h1>
<h1>À droite</h1>
<Gaufre />
</div>
<div style={{ display: "flex" }}>
<h1>À gauche</h1>
<Gaufre />
</div>
<p>