Skip to content

Commit

Permalink
refactor: update styles to be like Figma (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcjal authored Feb 3, 2021
1 parent 1a8391d commit eac766c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/elm/Profile.elm
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ selectFilter minChars toLabel q items =
viewAutoCompleteItem : Shared -> Basic p -> Html Never
viewAutoCompleteItem _ { avatar, name, account } =
div [ class "flex flex-row items-center z-30" ]
[ div [ class "pr-3" ] [ Avatar.view avatar "h-7 w-7" ]
[ div [ class "pt-4 pr-4 pb-4 pl-4" ] [ Avatar.view avatar "h-10 w-10" ]
, div [ class "flex flex-col border-dotted border-b border-gray-500 pb-1 w-full" ]
[ span [ class "text-white text-body font-bold leading-loose" ]
[ text <| Maybe.withDefault "" name ]
Expand Down
7 changes: 7 additions & 0 deletions src/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@ textarea.input {
@apply border-purple-500;
}

/* Elm Select*/

.elm-select-menu .elm-select-item:last-of-type .items-center > .border-dotted {
border-style: unset
}

/* End of Elm Select*/

/* Tooltip */

Expand Down

0 comments on commit eac766c

Please sign in to comment.