two column header controlled

This commit is contained in:
Burak Civan
2022-11-14 09:23:45 +03:00
parent 19461843cb
commit eeb3379e80
7 changed files with 62 additions and 19 deletions

View File

@ -3,7 +3,7 @@
<span
id="{{ $favorited ? 'remove-from-favorite' : 'add-to-favorite' }}"
@class([
'flex items-center text-purple text-2xl ltr:ml-2 rtl:mr-2 lg:mt-2 cursor-pointer',
'flex items-center text-purple text-2xl ltr:ml-2 rtl:mr-2 lg:mt-4 cursor-pointer',
'material-icons-outlined transform transition-all hover:scale-125' => ($favorited) ? false : true,
'material-icons' => (! $favorited) ? false : true,
])