Skip to content

Conversation

@cmgchess
Copy link
Contributor

@cmgchess cmgchess commented Dec 9, 2023

close #14089

image

image

i had used " " instead of ""

i could also do something like

                fragList(
                  t.publicLeaders.toList.map: l =>
                    userIdLink(l.some),
                  ""
                )

and

    .user-link {
      display: inline-block;
      vertical-align: bottom;
      padding-#{$end-direction}: 0.25em;
    }

not sure what would be best

Comment on lines 77 to 81
fragList(
t.publicLeaders.toList.map: l =>
userIdLink(l.some),
" "
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say option B (using CSS). And if there's no separator you can just do this:

Suggested change
fragList(
t.publicLeaders.toList.map: l =>
userIdLink(l.some),
" "
)
t.publicLeaders.toList.map: l =>
userIdLink(l.some)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably don’t need the tolist anymore to map too

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably don’t need the tolist anymore to map too

oh t.publicLeaders is a List already

@cmgchess cmgchess requested a review from fitztrev December 10, 2023 05:21
@ornicar ornicar merged commit c186b1b into lichess-org:master Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Team page: Comma is wrapping in list of Team Leaders

4 participants