From eb2189bb06d6b9243fc10a691269b9fdd9936353 Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 7 Apr 2015 19:04:19 -0400 Subject: [PATCH] Make bulleted/ordered list bullets unselectable --- src/definitions/elements/list.less | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/definitions/elements/list.less b/src/definitions/elements/list.less index 9b9bafc37..68b85cab4 100755 --- a/src/definitions/elements/list.less +++ b/src/definitions/elements/list.less @@ -279,7 +279,7 @@ ol.ui.list ol, margin-left: @horizontalSpacing; font-size: 1rem; } -.ui.horizontal.list > .item:first-child { +.ui.horizontal.list:not(.celled) > .item:first-child { margin-left: 0em !important; padding-left: 0em !important; } @@ -524,6 +524,8 @@ ul.ui.list li, ul.ui.list li:before, .ui.bulleted.list .list > .item:before, .ui.bulleted.list > .item:before { + user-select: none; + pointer-events: none; position: absolute; top: auto; left: auto; @@ -582,6 +584,8 @@ ol.ui.list li:before, position: absolute; top: auto; left: auto; + user-select: none; + pointer-events: none; margin-left: -(@orderedCountDistance); counter-increment: @orderedCountName; content: @orderedCountContent;