Skip to content

Commit

Permalink
fix(list): use hex for unicode character to avoid encoding errors
Browse files Browse the repository at this point in the history
List component bullets appear as • instead of bullets utf-8 \2022.
Problem was showing up in Android and iOS after using Cordova to create the app.
Traced the issue and not a Cordova problem but a CSS issue.

In usual browsers there is no visual difference, but using hex notation is a more clean implementation anyway
  • Loading branch information
lubber-de authored and Sean committed Sep 6, 2019
1 parent 98f999f commit 6187bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/themes/default/elements/list.variables
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
@bulletOffset: -@bulletDistance;

@bulletOpacity: 1;
@bulletCharacter: '';
@bulletCharacter: '\2022';
@bulletColor: inherit;
@bulletLinkColor: @textColor;
@bulletVerticalAlign: top;
Expand Down

0 comments on commit 6187bae

Please sign in to comment.