diff --git a/packages/website/src/components/LoadoutConsumables/index.module.css b/packages/website/src/components/LoadoutConsumables/index.module.css index 2d2b46fae..909a1a5c6 100644 --- a/packages/website/src/components/LoadoutConsumables/index.module.css +++ b/packages/website/src/components/LoadoutConsumables/index.module.css @@ -1,6 +1,9 @@ .consumables { + width: 0; + min-width: 100%; + display: grid; - grid-template-columns: repeat(3, max-content); + grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr)); gap: var(--space-3); .wrapper { diff --git a/packages/website/src/components/TankopediaLoadout/index.module.css b/packages/website/src/components/TankopediaLoadout/index.module.css index b604477a5..8898b479d 100644 --- a/packages/website/src/components/TankopediaLoadout/index.module.css +++ b/packages/website/src/components/TankopediaLoadout/index.module.css @@ -14,6 +14,13 @@ padding: var(--space-5); box-sizing: border-box; + @media (width < 44rem) { + background-color: transparent; + position: static; + max-height: none; + overflow-y: visible; + } + @media (pointer: coarse) { &[data-tabbed="false"] { display: none; diff --git a/packages/website/src/pages/[...chunk_default]/[...locale]/tanks/[slug]/index.astro b/packages/website/src/pages/[...chunk_default]/[...locale]/tanks/[slug]/index.astro index 1855f5cd9..717143a93 100644 --- a/packages/website/src/pages/[...chunk_default]/[...locale]/tanks/[slug]/index.astro +++ b/packages/website/src/pages/[...chunk_default]/[...locale]/tanks/[slug]/index.astro @@ -34,21 +34,63 @@ const { id, locale } = Astro.props;