mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 05:37:56 +00:00
feat: hide chain spec cards on mobile, keep mainnet details visible
Mobile users only see the Mainnet detail card (WebSocket endpoint, Chain ID, explorer button, services grid). The individual chain cards (Staging, Testnet, Beta, etc.) and subdomains box are hidden on mobile and visible on md+ screens.
This commit is contained in:
@@ -134,7 +134,8 @@ const ChainSpecs: React.FC = () => {
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-8">
|
{/* Chain cards grid - hidden on mobile, visible on md+ */}
|
||||||
|
<div className="hidden md:grid md:grid-cols-2 lg:grid-cols-4 gap-4 mb-8">
|
||||||
{chainSpecs.map((spec) => (
|
{chainSpecs.map((spec) => (
|
||||||
<div
|
<div
|
||||||
key={spec.id}
|
key={spec.id}
|
||||||
|
|||||||
Reference in New Issue
Block a user