From 1017a603b672884dc5d69c2c62447cfe31c6f4e1 Mon Sep 17 00:00:00 2001 From: Peter Savchenko Date: Mon, 20 Feb 2017 17:18:50 +0300 Subject: [PATCH] list plugin improved: Workaround situations when users has own `ul, li, ol` style-types clearings --- plugins/list/list.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/plugins/list/list.css b/plugins/list/list.css index 34a19e01..e3db41ee 100644 --- a/plugins/list/list.css +++ b/plugins/list/list.css @@ -4,7 +4,15 @@ line-height: 1.7em; } -.cdx-plugin-list__li{ +ul.cdx-plugin-list { + list-style-type: disc; +} + +ol.cdx-plugin-list { + list-style-type: initial; +} + +.cdx-plugin-list__li { display: list-item; background: #fff; border: 1px solid #ebeef3; @@ -12,6 +20,7 @@ margin: .5em; padding: .5em; list-style-position: outside; + list-style-type: inherit; margin-left: 1.1em; }