mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
fix: remove nested scroll constraint from tariff servers and promo groups
This commit is contained in:
@@ -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 (
|
||||||
|
|||||||
Reference in New Issue
Block a user