💄 Force root div to fit its content (all height before)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
@@ -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]);
|
||||
|
Reference in New Issue
Block a user