💄 Force root div to fit its content (all height before)

This commit is contained in:
2023-01-30 22:08:54 +01:00
parent 2fd6783534
commit d490236456
2 changed files with 2 additions and 2 deletions

View File

@@ -16,6 +16,7 @@
body {
aspect-ratio: 16/9;
width: 100vw;
height: none;
margin: 0;
@@ -23,6 +24,5 @@ body {
}
#root {
height: inherit;
width: inherit;
}

View File

@@ -209,7 +209,7 @@ export const StopsManager: VoidComponent = () => {
const items = [];
for (const stop of foundStops().sort((x, y) => x.name.localeCompare(y.name))) {
items.push(
<ListItem h="10%" borderWidth="1px" mb="0px" color="var(--idfm-black)" borderRadius="$lg">
<ListItem borderWidth="1px" mb="0px" color="var(--idfm-black)" borderRadius="$lg">
<Button fullWidth="true" color="var(--idfm-black)" bg="white" onClick={() => {
console.log(`${stop.id} clicked !!!`);
setDisplayedStops([stop]);