mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 04:26:57 +00:00
Merge remote-tracking branch 'upstream/main' into main
This commit is contained in:
@@ -11,7 +11,7 @@ import {
|
|||||||
LayerGroup,
|
LayerGroup,
|
||||||
useMapEvent,
|
useMapEvent,
|
||||||
} from "react-leaflet";
|
} from "react-leaflet";
|
||||||
import { FaChevronDown } from "react-icons/fa";
|
import { FaAngleDoubleDown } from "react-icons/fa";
|
||||||
import { useAtomValue, useSetAtom } from "jotai";
|
import { useAtomValue, useSetAtom } from "jotai";
|
||||||
|
|
||||||
import "leaflet/dist/leaflet.css";
|
import "leaflet/dist/leaflet.css";
|
||||||
@@ -265,10 +265,7 @@ export default function TournamentMap() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section
|
<section id="tournament-map" className="flex h-screen flex-col pb-[144px]">
|
||||||
id="tournament-map"
|
|
||||||
className="flex h-[calc(100vh-144px)] flex-col"
|
|
||||||
>
|
|
||||||
<div className="p-3 lg:hidden">
|
<div className="p-3 lg:hidden">
|
||||||
<TimeControlFilters />
|
<TimeControlFilters />
|
||||||
</div>
|
</div>
|
||||||
@@ -312,7 +309,7 @@ export default function TournamentMap() {
|
|||||||
className="p-3 text-teal-900 dark:text-white"
|
className="p-3 text-teal-900 dark:text-white"
|
||||||
onClick={onScrollToTable}
|
onClick={onScrollToTable}
|
||||||
>
|
>
|
||||||
<FaChevronDown />
|
<FaAngleDoubleDown />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ export default function TournamentTable() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<section
|
<section
|
||||||
className="tournament-table grid w-full auto-rows-max pb-20 lg:col-start-2 lg:col-end-3 lg:h-[calc(100vh-144px)] lg:overflow-y-scroll"
|
className="tournament-table grid w-full auto-rows-max pb-20 lg:col-start-2 lg:col-end-3 lg:h-screen lg:overflow-y-scroll lg:pb-[144px]"
|
||||||
id="tournament-table"
|
id="tournament-table"
|
||||||
data-test="tournament-table-div"
|
data-test="tournament-table-div"
|
||||||
>
|
>
|
||||||
|
|||||||
+8
-1
@@ -6,6 +6,13 @@ module.exports = {
|
|||||||
"./components/**/*.{js,ts,jsx,tsx,mdx}",
|
"./components/**/*.{js,ts,jsx,tsx,mdx}",
|
||||||
"./app/**/*.{js,ts,jsx,tsx,mdx}",
|
"./app/**/*.{js,ts,jsx,tsx,mdx}",
|
||||||
],
|
],
|
||||||
theme: {},
|
theme: {
|
||||||
|
extend: {
|
||||||
|
height: {
|
||||||
|
// We use 100svh, falling back to vh for old browsers
|
||||||
|
screen: ['100vh', '100svh'],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
plugins: [],
|
plugins: [],
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user