component refactorein

This commit is contained in:
Burak Civan 2022-08-16 15:20:03 +03:00
parent 61980881ac
commit b6fd820899
4 changed files with 7 additions and 7 deletions

View File

@ -2,9 +2,9 @@
<div class="w-full lg:w-1/2"> <div class="w-full lg:w-1/2">
<div class="border-b px-2 pb-3"> <div class="border-b px-2 pb-3">
<h1 class="flex items-center text-2xl xl:text-5xl text-black font-light -ml-0.5"> <h1 class="flex items-center text-2xl xl:text-5xl text-black font-light -ml-0.5">
<x-page-title> <x-title>
{!! $title !!} {!! $title !!}
</x-page-title> </x-title>
</h1> </h1>
<p class="mt-6 text-sm"> <p class="mt-6 text-sm">

View File

@ -5,9 +5,9 @@
<div class="w-full sm:w-6/12 items-center mb-3 sm:mb-0"> <div class="w-full sm:w-6/12 items-center mb-3 sm:mb-0">
<div class="flex items-center"> <div class="flex items-center">
<h1 class="flex items-center text-2xl xl:text-5xl text-black font-light -ml-0.5"> <h1 class="flex items-center text-2xl xl:text-5xl text-black font-light -ml-0.5">
<x-page-title> <x-title>
{!! $title !!} {!! $title !!}
</x-page-title> </x-title>
@yield('dashboard_action') @yield('dashboard_action')
</h1> </h1>

View File

@ -5,9 +5,9 @@
<div class="w-full sm:w-6/12 items-center mb-3 sm:mb-0"> <div class="w-full sm:w-6/12 items-center mb-3 sm:mb-0">
<div class="flex items-center"> <div class="flex items-center">
<h1 class="flex items-center text-2xl xl:text-5xl text-black font-light -ml-0.5"> <h1 class="flex items-center text-2xl xl:text-5xl text-black font-light -ml-0.5">
<x-page-title> <x-title>
{!! $title !!} {!! $title !!}
</x-page-title> </x-title>
@yield('dashboard_action') @yield('dashboard_action')
</h1> </h1>

View File

@ -1,6 +1,6 @@
@if (strlen($slot) >= 25 ) @if (strlen($slot) >= 25 )
<x-tooltip id="page-title" placement="bottom" message="{!! $slot !!}"> <x-tooltip id="page-title" placement="bottom" message="{!! $slot !!}">
<div class="w-96 truncate"> <div class="truncate" style="width: 22rem;">
{!! $slot !!} {!! $slot !!}
</div> </div>
</x-tooltip> </x-tooltip>