diff --git a/CHANGELOG.md b/CHANGELOG.md index a2cd2ffb..6f161073 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ # Feature #586 select color modifiers # Fix #537 -ms-expand # Fix #578 better `+center` mixin +* Fix #565 `dl` styles +* Fix #389 `pre` `margin-bottom` ## 0.4.0 diff --git a/docs/css/bulma-docs.css b/docs/css/bulma-docs.css index c2de947f..853494bd 100644 --- a/docs/css/bulma-docs.css +++ b/docs/css/bulma-docs.css @@ -1692,9 +1692,11 @@ input[type="submit"].button { } .content p:not(:last-child), +.content dl:not(:last-child), .content ol:not(:last-child), .content ul:not(:last-child), .content blockquote:not(:last-child), +.content pre:not(:last-child), .content table:not(:last-child) { margin-bottom: 1em; } @@ -1781,6 +1783,18 @@ input[type="submit"].button { list-style-type: square; } +.content dd { + margin-left: 2em; +} + +.content pre { + -webkit-overflow-scrolling: touch; + overflow-x: auto; + padding: 1.25em 1.5em; + white-space: pre; + word-wrap: normal; +} + .content table { width: 100%; } diff --git a/docs/documentation/elements/content.html b/docs/documentation/elements/content.html index 7ef50b3e..847fa9c5 100644 --- a/docs/documentation/elements/content.html +++ b/docs/documentation/elements/content.html @@ -54,9 +54,26 @@ doc-subtab: content
Ut venenatis, nisl scelerisque sollicitudin fermentum, quam libero hendrerit ipsum, ut blandit est tellus sit amet turpis.
Quisque at semper enim, eu hendrerit odio. Etiam auctor nisl et justo sodales elementum. Maecenas ultrices lacus quis neque consectetur, et lobortis nisi molestie.
Sed sagittis enim ac tortor maximus rutrum. Nulla facilisi. Donec mattis vulputate risus in luctus. Maecenas vestibulum interdum commodo.
+Suspendisse egestas sapien non felis placerat elementum. Morbi tortor nisl, suscipit sed mi sit amet, mollis malesuada nulla. Nulla facilisi. Nullam ac erat ante.
Nulla efficitur eleifend nisi, sit amet bibendum sapien fringilla ac. Mauris euismod metus a tellus laoreet, at elementum ex efficitur.
+<!DOCTYPE html> +<html> + <head> + <title>Hello World</title> + </head> + <body> + <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra nec nulla vitae mollis.</p> + </body> +</html>
Maecenas eleifend sollicitudin dui, faucibus sollicitudin augue cursus non. Ut finibus eleifend arcu ut vehicula. Mauris eu est maximus est porta condimentum in eu justo. Nulla id iaculis sapien.