responsive design

This commit is contained in:
elvira committed 2026-10-24 00:20:57 +03:00
1 parent 9217960de0
commit 0ae5f49bcf
23 files changed
+380 -157

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
@props(['tabs' => [], 'size' => 'md', 'active' => null])
@php
$sizeClasses = match($size) {
'lg' => 'text-[36px] font-extrabold [--slide-h:5px]',
'lg' => 'text-2xl sm:text-[36px] font-extrabold [--slide-h:5px]',
default => 'text-xl font-bold [--slide-h:3px]',
};
$activeId = $active ?? ($tabs[0]['id'] ?? null);
@@ -21,7 +21,7 @@
--}}
<div data-controller="tabs" {{ $attributes }}>
<div class="flex gap-10 mb-8" role="tablist">
<div class="flex flex-wrap gap-x-10 gap-y-4 mb-8" role="tablist">
@foreach($tabs as $tab)
<button
type="button"