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

Non-breaking space before sorting symbols #25

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Augustin82
Copy link

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
@@ -245,12 +245,12 @@ simpleTheadHelp (name, status, onClick) =

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

@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.
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants