diff --git a/asciidoctor-stylesheet/sass/components/_asciidoc.scss b/asciidoctor-stylesheet/sass/components/_asciidoc.scss index 38c98ec197f..23fb87fb631 100644 --- a/asciidoctor-stylesheet/sass/components/_asciidoc.scss +++ b/asciidoctor-stylesheet/sass/components/_asciidoc.scss @@ -391,9 +391,10 @@ b.button:after { font-size: 1.2em; } -.toc { +.toc, .chapters { display: flex; flex-wrap: wrap; + width: 100%; li { border: 0.05rem solid rgba(43, 41, 45, 0.2); list-style: none; @@ -419,39 +420,6 @@ b.button:after { } } } -} - -.chapters { - display: flex; - flex-wrap: wrap; - li { - border: 0.05rem solid rgba(43, 41, 45, 0.2); - list-style: none; - width: 48%; - margin: 1%; - border-radius: 0.4rem; - padding: 0.75rem; - } - p { - &:before { - background-size: 90px auto; - background-image: url('/images/Image-devon-shop-floor.png'); - content: ""; - display: inline-block; - width: 90px; - height: 75px; - background-repeat: no-repeat; - position: relative; - } - a { - height: 100px; - position: relative; - top: -18px; - } - } -} - -.toc, .chapters { li[data-content="Angular"] p:before { background-image: url('/images/icon-angular.png'); }