noahsettersten commited on
Commit
5f2d531
1 Parent(s): 0bce68f

chore: Reduce opacity of highlighted bg for codes, adjust padding

Browse files
lib/medical_transcription_web/components/components.ex CHANGED
@@ -158,9 +158,9 @@ defmodule MedicalTranscriptionWeb.Components do
158
 
159
  <div class="w-1 h-full border-l border-[#444444]/20"></div>
160
  <div
161
- class={"flex flex-col gap-1 font-secondary text-type-black-primary ml-4 p-1 rounded
162
- #{if @weighting == :positive, do: "bg-emerald-200"}
163
- #{if @weighting == :negative, do: "bg-red-200"}
164
  "}
165
  title={"Similarity score: #{trunc(@score * 100) / 100}"}
166
  >
 
158
 
159
  <div class="w-1 h-full border-l border-[#444444]/20"></div>
160
  <div
161
+ class={"flex flex-col gap-1 font-secondary text-type-black-primary ml-4 px-2 py-1 rounded
162
+ #{if @weighting == :positive, do: "bg-emerald-200/40"}
163
+ #{if @weighting == :negative, do: "bg-red-200/40"}
164
  "}
165
  title={"Similarity score: #{trunc(@score * 100) / 100}"}
166
  >