diff --git a/source/components/rule/Examples.css b/source/components/rule/Examples.css index 0cf0a8914..22898a856 100644 --- a/source/components/rule/Examples.css +++ b/source/components/rule/Examples.css @@ -18,16 +18,12 @@ list-style-type: none; } #examples .example { - font-weight: 500; margin: 0.6em; - cursor: pointer; -} -#examples .example.selected .name { - font-weight: bold; } #examples .name { - border: none; + border-width: 1px; + border-style: solid; padding: 0.2em 0.6em; border-radius: 0.2em; font-size: 100%; diff --git a/source/components/rule/Examples.js b/source/components/rule/Examples.js index 15112b083..375456631 100644 --- a/source/components/rule/Examples.js +++ b/source/components/rule/Examples.js @@ -69,20 +69,35 @@ let Example = ({ rule, currentExample, setExample, - themeColours: { colour, textColour } -}) => ( -