mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
Redesign (#124)
- redesign the dashboard - add search bar - Mobile-friendly design
This commit is contained in:
@ -1,3 +1,10 @@
|
||||
<div {!! $attributes->merge(["class" => "py-12 max-w-7xl mx-auto px-6"]) !!}>
|
||||
@php
|
||||
$class = "mx-auto px-4 sm:px-6 lg:px-8";
|
||||
if (! str($attributes->get("class"))->contains("max-w-")) {
|
||||
$class .= " max-w-7xl";
|
||||
}
|
||||
@endphp
|
||||
|
||||
<div {!! $attributes->merge(["class" => $class]) !!}>
|
||||
{{ $slot }}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user