diff --git a/src/dashboard/maps.html b/src/dashboard/maps.html index 9d28fcf..09dae7f 100644 --- a/src/dashboard/maps.html +++ b/src/dashboard/maps.html @@ -9,6 +9,10 @@ body { margin: 0; } + + .MuiMenu-paper { + max-height: calc(100% - 26px) !important; + } diff --git a/src/dashboard/schedule.html b/src/dashboard/schedule.html index 9f6cf73..5fb4432 100644 --- a/src/dashboard/schedule.html +++ b/src/dashboard/schedule.html @@ -7,6 +7,10 @@ margin-left: 0; margin-right: 0; } + + .MuiMenu-paper { + max-height: calc(100% - 32px) !important; + } diff --git a/src/dashboard/setup/maps/veto.tsx b/src/dashboard/setup/maps/veto.tsx index ffbe760..222d198 100644 --- a/src/dashboard/setup/maps/veto.tsx +++ b/src/dashboard/setup/maps/veto.tsx @@ -38,12 +38,6 @@ const Divider = styled.div` margin: 8px 0; `; -const SelectNoMaxHeight = styled(Select)` - & .MuiMenu-paper { - max-height: 100%; - } -`; - const mapNames = ['Dust2', 'Inferno', 'Mirage', 'Nuke', 'Overpass', 'Train', 'Vertigo']; const reorder = (list: unknown[], startIndex: number, endIndex: number) => { @@ -134,7 +128,7 @@ const DashVeto: React.FC = () => { Team - setTeamSelected(e.target.value as string)}> @@ -169,7 +163,7 @@ const DashVeto: React.FC = () => { Server - +