style: Make tabs navigation responsive to mobile viewport
This commit is contained in:
1 parent
b7f340636f
commit
40b75f8178
1 file changed
+2
-2
@@ -3,7 +3,7 @@
|
||||
|
||||
<!-- Tabs Navigation -->
|
||||
<div class="mb-4 border-b border-gray-200">
|
||||
<nav class="-mb-px flex space-x-8" aria-label="Tabs">
|
||||
<nav class="flex flex-wrap space-x-4 sm:space-x-8" aria-label="Tabs">
|
||||
<a href="#tab-merits" class="group whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm
|
||||
border-primary text-primary [&:not(:target):not(:has(~:target))]:border-primary [&:not(:target):not(:has(~:target))]:text-primary
|
||||
[&:target]:border-primary [&:target]:text-primary
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
<!-- Sub-Tabs Navigation -->
|
||||
<div class="mb-4 border-b border-gray-200">
|
||||
<nav class="-mb-px flex space-x-8" aria-label="Sub-Tabs">
|
||||
<nav class="flex flex-wrap space-x-4 sm:space-x-8" aria-label="Sub-Tabs">
|
||||
<a href="#sub-tab-week" class="group whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm
|
||||
border-primary text-primary [&:not(:target):not(:has(~:target))]:border-primary [&:not(:target):not(:has(~:target))]:text-primary
|
||||
[&:target]:border-primary [&:target]:text-primary
|
||||
|
||||
Reference in new issue
Block a user