Skip to content

Commit

Permalink
Don't use label when not paired with an input
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Jul 20, 2024
1 parent a3943f6 commit e53c74d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Code/ProjectName.elm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module Code.ProjectName exposing (..)
import Code.Hash as Hash
import Code.Hashvatar as Hashvatar
import Code.ProjectSlug as ProjectSlug exposing (ProjectSlug)
import Html exposing (Html, label, span, text)
import Html exposing (Html, span, text)
import Html.Attributes exposing (class, title)
import Json.Decode as Decode
import Lib.UserHandle as UserHandle exposing (UserHandle)
Expand Down Expand Up @@ -185,7 +185,7 @@ view_ handleClick slugClick ((ProjectName handle_ slug_) as projectName_) =
Nothing ->
span [ class "project-name_slug" ] [ text (ProjectSlug.toString slug_) ]
in
label [ class "project-name", title (toString projectName_) ]
span [ class "project-name", title (toString projectName_) ]
[ handle__
, span [ class "project-name_separator" ] [ text "/" ]
, slug__
Expand Down

0 comments on commit e53c74d

Please sign in to comment.