Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaellehmkuhl committed Sep 13, 2023
1 parent 3b69c7d commit b6df339
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/mini-widgets/GenericIndicator.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<template>
<div
class="flex items-center w-[6.25rem] h-12 py-1 text-white justify-center cursor-pointer hover:bg-slate-100/20 transition-all"
class="flex items-center w-[8.5rem] h-12 py-1 text-white justify-center cursor-pointer hover:bg-slate-100/20 transition-all"
@click="showConfigurationMenu = !showConfigurationMenu"
>
<span class="relative w-[2rem] mdi icon-symbol" :class="[options.iconName]"></span>
<div class="flex flex-col items-start justify-center ml-1 min-w-[4rem] max-w-[6rem] select-none">
<div class="flex flex-col items-start justify-center ml-1 min-w-[4rem] max-w-[6.5rem] select-none">
<div>
<span class="font-mono text-xl font-semibold leading-6 w-fit">{{ parsedState }}</span>
<span class="text-xl font-semibold leading-6 w-fit">{{ options.variableUnit }}</span>
<span class="text-xl font-semibold leading-6 w-fit">
{{ String.fromCharCode(0x20) }} {{ options.variableUnit }}
</span>
</div>
<span class="w-full text-sm font-semibold leading-4 whitespace-nowrap">{{ options.displayName }}</span>
</div>
Expand Down

0 comments on commit b6df339

Please sign in to comment.