fix: remove nested scroll constraint from tariff servers and promo groups

This commit is contained in:
c0mrade
2026-02-06 23:26:43 +03:00
parent 7df751ea35
commit c944e9ef0b

View File

@@ -669,7 +669,7 @@ export default function AdminTariffCreate() {
{t('admin.tariffs.noServersAvailable')} {t('admin.tariffs.noServersAvailable')}
</p> </p>
) : ( ) : (
<div className="max-h-48 space-y-2 overflow-y-auto"> <div className="space-y-2">
{servers.map((server: ServerInfo) => { {servers.map((server: ServerInfo) => {
const isSelected = selectedSquads.includes(server.squad_uuid); const isSelected = selectedSquads.includes(server.squad_uuid);
return ( return (
@@ -972,7 +972,7 @@ export default function AdminTariffCreate() {
{promoGroups.length === 0 ? ( {promoGroups.length === 0 ? (
<p className="py-4 text-center text-dark-500">{t('admin.tariffs.noPromoGroups')}</p> <p className="py-4 text-center text-dark-500">{t('admin.tariffs.noPromoGroups')}</p>
) : ( ) : (
<div className="max-h-48 space-y-2 overflow-y-auto"> <div className="space-y-2">
{promoGroups.map((group) => { {promoGroups.map((group) => {
const isSelected = selectedPromoGroups.includes(group.id); const isSelected = selectedPromoGroups.includes(group.id);
return ( return (