Skip to content

Commit

Permalink
removed height to center text
Browse files Browse the repository at this point in the history
  • Loading branch information
SaySayo committed Jul 20, 2023
1 parent 810d894 commit c5a2da1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ocamlorg_frontend/components/learn_overview.eml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ let skill_tag
difficulty =
match difficulty with
| Some "beginner" ->
<div class="w-28 h-8 p-1 inline-block bg-white rounded-3xl border-2 border-teal-700 font-normal text-center text-teal-700"> Beginner </div>
<div class="w-28 py-1 inline-block bg-white rounded-3xl border-2 border-teal-700 font-normal text-center text-teal-700"> Beginner </div>
| Some "intermediate" ->
<div class="w-36 h-8 p-1 inline-block bg-white rounded-3xl border-2 border-black font-normal text-center text-default"> Intermediate </div>
<div class="w-36 py-1 inline-block bg-white rounded-3xl border-2 border-black font-normal text-center text-default"> Intermediate </div>
| Some "advanced" ->
<div class="w-28 h-8 p-1 inline-block bg-white rounded-3xl border-2 border-primary-700 font-normal text-center text-primary-700"> Advanced </div>
<div class="w-28 py-1 inline-block bg-white rounded-3xl border-2 border-primary-700 font-normal text-center text-primary-700"> Advanced </div>
| None ->
<></>
| Some _ ->
Expand Down

0 comments on commit c5a2da1

Please sign in to comment.