Noah Settersten commited on
Commit
7a61f41
·
1 Parent(s): 83bf488

chore: Use pointer cursor on file input label

Browse files
lib/medical_transcription_web/components/components.ex CHANGED
@@ -15,12 +15,12 @@ defmodule MedicalTranscriptionWeb.Components do
15
  <div class="w-full px-4 py-[19px] rounded-[10px] flex items-center bg-light-divider">
16
  <label
17
  for={@audio_upload.ref}
18
- class="mr-4 px-[16.5px] py-[9.941667px] rounded-lg bg-[#444444]/10"
19
  >
20
  <img src={~p"/images/paperclip.svg"} width="15" height="30" />
21
  </label>
22
  <.live_file_input
23
- class="flex-1 file:hidden file:font-secondary file:text-sm file:rounded-full file:px-4 file:py-2 file:border-0 file:bg-brand file:hover:bg-brand-active file:text-white"
24
  upload={@audio_upload}
25
  />
26
  <button name="submit-btn" title="Upload and process file">
 
15
  <div class="w-full px-4 py-[19px] rounded-[10px] flex items-center bg-light-divider">
16
  <label
17
  for={@audio_upload.ref}
18
+ class="cursor-pointer mr-4 px-[16.5px] py-[9.941667px] rounded-lg bg-[#444444]/10"
19
  >
20
  <img src={~p"/images/paperclip.svg"} width="15" height="30" />
21
  </label>
22
  <.live_file_input
23
+ class="flex-1 cursor-pointer file:hidden file:font-secondary file:text-sm file:rounded-full file:px-4 file:py-2 file:border-0 file:bg-brand file:hover:bg-brand-active file:text-white"
24
  upload={@audio_upload}
25
  />
26
  <button name="submit-btn" title="Upload and process file">