Skip to content

Commit

Permalink
few uiux patches
Browse files Browse the repository at this point in the history
  • Loading branch information
roncodes committed Sep 16, 2024
1 parent 08270b0 commit 1e68d74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions addon/components/input-info.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="ui-input-info bg-opacity-{{or @opacity 100}}" ...attributes>
<FaIcon @icon={{or @icon "info-circle"}} class={{@iconClass}} />
<span class="text-left {{@spanClass}}">
<div class="text-left {{@spanClass}} {{@yieldClass}}">
{{#if (has-block)}}
{{yield}}
{{else}}
Expand All @@ -9,5 +9,5 @@
<pre class="break-text subpixel-antialiased">{{@exampleText}}</pre>
{{/if}}
{{/if}}
</span>
</div>
</div>
4 changes: 2 additions & 2 deletions addon/components/table/cell/vehicle-name.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@fallbackSrc={{config "defaultValues.vehicleAvatar"}}
data-vehicle={{@row.id}}
alt={{this.altText}}
class="w-6 h-6 rounded-md {{if @column.hasOnline 'mx-2' 'mr-2'}}"
class="w-5 h-5 rounded-md {{if @column.hasOnline 'mx-2' 'mr-2'}}"
/>
<span class="relative block">
<a href="javascript:;" class="relative block" {{on "click" this.onClick}} disabled={{and @column.permission (cannot @column.permission)}}>
Expand All @@ -18,6 +18,6 @@
</a>
</span>
{{#if @column.showOnlineIndicator}}
<FaIcon @icon="circle" class="absolute left-0 top-0 {{if @row.online 'text-green-500' 'text-yellow-200'}}" />
<FaIcon @icon="circle" @size="2xs" class="absolute left-0 top-0 -ml-1 -mt-1 {{if @row.online 'text-green-500' 'text-yellow-200'}}" />
{{/if}}
</div>

0 comments on commit 1e68d74

Please sign in to comment.