Skip to content

Commit

Permalink
style: formatted content
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaile committed Jan 5, 2024
1 parent f21794e commit a976591
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/NeCheckbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const model = computed({
v-model="model"
:aria-describedby="componentId + '-description'"
:disabled="disabled"
class="h-5 w-5 rounded border-gray-300 text-primary-700 focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 focus:ring-offset-white disabled:cursor-not-allowed disabled:opacity-50 dark:border-gray-500 dark:text-primary-500 dark:focus:ring-primary-300 dark:focus:ring-offset-primary-950 sm:h-4 sm:w-4"
class="h-5 w-5 rounded border-gray-300 text-primary-700 focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 focus:ring-offset-white disabled:cursor-not-allowed disabled:opacity-50 sm:h-4 sm:w-4 dark:border-gray-500 dark:text-primary-500 dark:focus:ring-primary-300 dark:focus:ring-offset-primary-950"
type="checkbox"
v-bind="$attrs"
/>
Expand Down
4 changes: 2 additions & 2 deletions src/components/NeCombobox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ onClickOutside(comboboxRef, () => onClickOutsideCombobox())
<ComboboxInput
:class="`${
props.invalidMessage ? inputInvalidStyle : inputValidStyle
} w-full rounded-md border-0 bg-white py-1.5 pl-3 pr-10 text-gray-900 shadow-sm ring-1 ring-inset placeholder:text-gray-400 focus:ring-2 focus:ring-inset disabled:cursor-not-allowed disabled:opacity-50 dark:bg-gray-950 dark:text-gray-50 dark:placeholder:text-gray-500 sm:text-sm sm:leading-6`"
} w-full rounded-md border-0 bg-white py-1.5 pl-3 pr-10 text-gray-900 shadow-sm ring-1 ring-inset placeholder:text-gray-400 focus:ring-2 focus:ring-inset disabled:cursor-not-allowed disabled:opacity-50 sm:text-sm sm:leading-6 dark:bg-gray-950 dark:text-gray-50 dark:placeholder:text-gray-500`"
:display-value="(option: any) => option?.label"
:placeholder="props.placeholder"
@change="query = $event.target.value"
Expand All @@ -309,7 +309,7 @@ onClickOutside(comboboxRef, () => onClickOutsideCombobox())
<ComboboxOptions
v-if="filteredOptions.length > 0"
static
class="absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-gray-900/5 ring-opacity-5 focus:outline-none dark:bg-gray-950 dark:ring-gray-500/50 sm:text-sm"
class="absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-gray-900/5 ring-opacity-5 focus:outline-none sm:text-sm dark:bg-gray-950 dark:ring-gray-500/50"
>
<ComboboxOption
v-for="option in filteredOptions"
Expand Down
2 changes: 1 addition & 1 deletion src/components/NeSideDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function closeDrawer() {
leave-to="translate-x-full"
>
<DialogPanel
class="3xl:w-[35rem] relative ml-16 flex w-[80vw] flex-1 overflow-y-auto bg-gray-50 text-gray-700 shadow-[0px_20px_40px_0_rgba(0,0,0,0.2)] dark:bg-gray-900 dark:text-gray-100 dark:shadow-[0px_20px_40px_0_rgba(0,0,0,0.6)] sm:w-[25rem] lg:w-[30rem]"
class="3xl:w-[35rem] relative ml-16 flex w-[80vw] flex-1 overflow-y-auto bg-gray-50 text-gray-700 shadow-[0px_20px_40px_0_rgba(0,0,0,0.2)] sm:w-[25rem] lg:w-[30rem] dark:bg-gray-900 dark:text-gray-100 dark:shadow-[0px_20px_40px_0_rgba(0,0,0,0.6)]"
>
<TransitionChild
v-if="!title"
Expand Down

0 comments on commit a976591

Please sign in to comment.