Spaces:
Running
Running
make card profile page scrollable from inside so no element can go out of this block, this block is scrollable from inside , but the page , the full page stay static, you must treat this selected block as a mobile screen and we will add our design and ui on that mobile screen so when no space in down user must scroll down
Browse files- card-selector.html +2 -2
- favorites-card.html +2 -2
- index.html +2 -2
- training-card.html +2 -2
card-selector.html
CHANGED
|
@@ -28,8 +28,8 @@
|
|
| 28 |
</head>
|
| 29 |
<body class="bg-gray-900 text-white min-h-screen">
|
| 30 |
<div class="min-h-screen w-full flex items-center justify-center px-4 relative">
|
| 31 |
-
<div class="glass-card p-6 w-full max-w-md mx-auto text-center relative" style="aspect-ratio: 9/19; max-height: 95vh;">
|
| 32 |
-
|
| 33 |
|
| 34 |
<div class="grid grid-cols-2 gap-4">
|
| 35 |
<a href="index.html" class="card-option p-4 border border-gray-700 rounded-lg cursor-pointer hover:bg-indigo-900/30 transition">
|
|
|
|
| 28 |
</head>
|
| 29 |
<body class="bg-gray-900 text-white min-h-screen">
|
| 30 |
<div class="min-h-screen w-full flex items-center justify-center px-4 relative">
|
| 31 |
+
<div class="glass-card p-6 w-full max-w-md mx-auto text-center relative" style="aspect-ratio: 9/19; max-height: 95vh; overflow-y: auto;">
|
| 32 |
+
<h1 class="text-2xl font-bold mb-6 gradient-text">Select Card Type</h1>
|
| 33 |
|
| 34 |
<div class="grid grid-cols-2 gap-4">
|
| 35 |
<a href="index.html" class="card-option p-4 border border-gray-700 rounded-lg cursor-pointer hover:bg-indigo-900/30 transition">
|
favorites-card.html
CHANGED
|
@@ -34,8 +34,8 @@
|
|
| 34 |
</head>
|
| 35 |
<body class="bg-gray-900 text-white min-h-screen">
|
| 36 |
<div class="min-h-screen w-full flex items-center justify-center px-4 relative">
|
| 37 |
-
<div class="glass-card p-6 w-full max-w-md mx-auto text-center relative" style="aspect-ratio: 9/19; max-height: 95vh;">
|
| 38 |
-
|
| 39 |
<h1 class="text-2xl font-bold mb-6 flex items-center justify-center">
|
| 40 |
<i data-feather="heart" class="w-6 h-6 mr-2"></i>
|
| 41 |
Favorite Things
|
|
|
|
| 34 |
</head>
|
| 35 |
<body class="bg-gray-900 text-white min-h-screen">
|
| 36 |
<div class="min-h-screen w-full flex items-center justify-center px-4 relative">
|
| 37 |
+
<div class="glass-card p-6 w-full max-w-md mx-auto text-center relative" style="aspect-ratio: 9/19; max-height: 95vh; overflow-y: auto;">
|
| 38 |
+
<div class="flex flex-col justify-center h-full">
|
| 39 |
<h1 class="text-2xl font-bold mb-6 flex items-center justify-center">
|
| 40 |
<i data-feather="heart" class="w-6 h-6 mr-2"></i>
|
| 41 |
Favorite Things
|
index.html
CHANGED
|
@@ -129,8 +129,8 @@
|
|
| 129 |
<body class="bg-gray-900 text-white min-h-screen">
|
| 130 |
<!-- Profile Section -->
|
| 131 |
<div id="vanta-bg" class="min-h-screen w-full flex items-center justify-center px-4 relative">
|
| 132 |
-
<div class="glass-card p-6 w-full max-w-md mx-auto text-center relative" style="aspect-ratio: 9/19; max-height: 95vh;" id="profileCard">
|
| 133 |
-
|
| 134 |
<button id="prevCard" class="absolute left-2 top-1/2 transform -translate-y-1/2 bg-gray-800/50 hover:bg-gray-700/50 rounded-full p-2 z-50">
|
| 135 |
<i data-feather="chevron-left" class="w-5 h-5"></i>
|
| 136 |
</button>
|
|
|
|
| 129 |
<body class="bg-gray-900 text-white min-h-screen">
|
| 130 |
<!-- Profile Section -->
|
| 131 |
<div id="vanta-bg" class="min-h-screen w-full flex items-center justify-center px-4 relative">
|
| 132 |
+
<div class="glass-card p-6 w-full max-w-md mx-auto text-center relative" style="aspect-ratio: 9/19; max-height: 95vh; overflow-y: auto;" id="profileCard">
|
| 133 |
+
<!-- Navigation Arrows -->
|
| 134 |
<button id="prevCard" class="absolute left-2 top-1/2 transform -translate-y-1/2 bg-gray-800/50 hover:bg-gray-700/50 rounded-full p-2 z-50">
|
| 135 |
<i data-feather="chevron-left" class="w-5 h-5"></i>
|
| 136 |
</button>
|
training-card.html
CHANGED
|
@@ -36,8 +36,8 @@
|
|
| 36 |
</head>
|
| 37 |
<body class="bg-gray-900 text-white min-h-screen">
|
| 38 |
<div class="min-h-screen w-full flex items-center justify-center px-4 relative">
|
| 39 |
-
<div class="glass-card p-6 w-full max-w-md mx-auto text-center relative" style="aspect-ratio: 9/19; max-height: 95vh;">
|
| 40 |
-
|
| 41 |
<h1 class="text-2xl font-bold mb-6 flex items-center justify-center">
|
| 42 |
<i data-feather="award" class="w-6 h-6 mr-2"></i>
|
| 43 |
Training Commands
|
|
|
|
| 36 |
</head>
|
| 37 |
<body class="bg-gray-900 text-white min-h-screen">
|
| 38 |
<div class="min-h-screen w-full flex items-center justify-center px-4 relative">
|
| 39 |
+
<div class="glass-card p-6 w-full max-w-md mx-auto text-center relative" style="aspect-ratio: 9/19; max-height: 95vh; overflow-y: auto;">
|
| 40 |
+
<div class="flex flex-col justify-center h-full">
|
| 41 |
<h1 class="text-2xl font-bold mb-6 flex items-center justify-center">
|
| 42 |
<i data-feather="award" class="w-6 h-6 mr-2"></i>
|
| 43 |
Training Commands
|