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

View File

@ -1,5 +1,5 @@
<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 }}
</span>
</x-tooltip>

View File

@ -1,5 +1,5 @@
<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 }}
</span>
</x-tooltip>

View File

@ -49,8 +49,8 @@
{{ $class->row_names[$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)">
<span class="material-icons transform transition-all rotate-90 text-lg leading-none">navigate_next</span>
<button type="button" class="align-text-top flex" node="child-{{ $id }}" onClick="toggleSub('child-{{ $id }}', event)">
<span class="material-icons transform transition-all text-lg leading-none">navigate_next</span>
</button>
@endif
</td>

View File

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