Skip to content
This repository was archived by the owner on Sep 6, 2018. It is now read-only.

Non-breaking space before sorting symbols#25

Open
Augustin82 wants to merge 6 commits intoevancz:masterfrom
Spottt:master
Open

Non-breaking space before sorting symbols#25
Augustin82 wants to merge 6 commits intoevancz:masterfrom
Spottt:master

Conversation

@Augustin82
Copy link
Copy Markdown

Replaces the regular space between a column name and the sorting symbol with a non-breaking space, preventing wonky wrapping when the column's name is wider than the column's content.

src/Table.elm Outdated
darkGrey : String -> Html msg
darkGrey symbol =
Html.span [ Attr.style [("color", "#555")] ] [ Html.text (" " ++ symbol) ]
Html.span [ Attr.style [("color", "#555")] ] [ Html.text (" " ++ symbol) ]
Copy link
Copy Markdown

@gaul gaul Mar 5, 2018

Choose a reason for hiding this comment

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

More clear to use HTML entity, e.g.,  ?

billstclair and others added 6 commits August 28, 2018 15:24
Fix shadowing and toString problems.

Change now nonexistent  functions to floating point math.

Add a CSS file for the example.

Update live sample links to billstclair.github.io.
This was reported in evancz#15

Bump package version from 1.0.2 to 1.0.3.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants