defautl icon alignment

This commit is contained in:
Burak Civan 2022-06-06 17:23:53 +03:00
parent 09e2e97902
commit ab9bf0ea5a
5 changed files with 14 additions and 12 deletions

View File

@ -4,13 +4,15 @@
</x-slot> </x-slot>
<x-slot name="status"> <x-slot name="status">
@if (! $account->enabled) <div class="mt-3">
<x-index.disable text="{{ trans_choice('general.accounts', 1) }}" /> @if (! $account->enabled)
@endif <x-index.disable text="{{ trans_choice('general.accounts', 1) }}" />
@endif
@if (setting('default.account') == $account->id) @if (setting('default.account') == $account->id)
<x-index.default text="{{ trans('accounts.default_account') }}" /> <x-index.default text="{{ trans('accounts.default_account') }}" />
@endif @endif
</div>
</x-slot> </x-slot>
<x-slot name="favorite" <x-slot name="favorite"

View File

@ -1,5 +1,5 @@
<x-tooltip id="{{ $id }}" placement="{{ $position }}" message="{{ $text }}"> <x-tooltip id="{{ $id }}" placement="{{ $position }}" message="{{ $text }}">
<span class="material-icons{{ $iconType }} text-purple text-xl ml-2 lg:mt-2"> <span class="material-icons{{ $iconType }} text-purple text-sm ml-2">
{{ $icon }} {{ $icon }}
</span> </span>
</x-tooltip> </x-tooltip>

View File

@ -1,5 +1,5 @@
<x-tooltip id="{{ $id }}" placement="{{ $position }}" message="{{ $disableText }}"> <x-tooltip id="{{ $id }}" placement="{{ $position }}" message="{{ $disableText }}">
<span class="material-icons{{ $iconType }} text-red text-xl ml-2 lg:mt-2"> <span class="material-icons{{ $iconType }} text-red text-sm ml-2">
{{ $icon }} {{ $icon }}
</span> </span>
</x-tooltip> </x-tooltip>

View File

@ -49,8 +49,8 @@
{{ $class->row_names[$table_key][$id] }} {{ $class->row_names[$table_key][$id] }}
@if (array_sum($parent_row_values) != array_sum($class->row_values[$table_key][$id])) @if (array_sum($parent_row_values) != array_sum($class->row_values[$table_key][$id]))
<button type="button" class="align-text-top" node="child-{{ $id }}" onClick="toggleSub('child-{{ $id }}', event)"> <button type="button" class="align-text-top flex" node="child-{{ $id }}" onClick="toggleSub('child-{{ $id }}', event)">
<span class="material-icons transform transition-all rotate-90 text-lg leading-none">navigate_next</span> <span class="material-icons transform transition-all text-lg leading-none">navigate_next</span>
</button> </button>
@endif @endif
</td> </td>

View File

@ -51,8 +51,8 @@
<div class="flex items-center" style="padding-left: {{ $tree_level * 20 }}px;"> <div class="flex items-center" style="padding-left: {{ $tree_level * 20 }}px;">
<span>{{ $class->row_names[$table_key][$id] }}</span> <span>{{ $class->row_names[$table_key][$id] }}</span>
@if (array_sum($parent_row_values) != array_sum($class->row_values[$table_key][$id])) @if (array_sum($parent_row_values) != array_sum($class->row_values[$table_key][$id]))
<button type="button" class="align-text-top" node="child-{{ $id }}" onClick="toggleSub('child-{{ $id }}', event)"> <button type="button" class="align-text-top flex" node="child-{{ $id }}" onClick="toggleSub('child-{{ $id }}', event)">
<span class="material-icons transform transition-all rotate-90 text-lg leading-none">navigate_next</span> <span class="material-icons transform transition-all text-lg leading-none">navigate_next</span>
</button> </button>
@endif @endif
</div> </div>