You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2016/02/01 18:29:02 UTC
[28/50] brooklyn-docs git commit: Add scrollbar for very long lines
in code blocks
Add scrollbar for very long lines in code blocks
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/d6d285e7
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/d6d285e7
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/d6d285e7
Branch: refs/heads/0.4.0
Commit: d6d285e7525bb55be69fc5302e30108623aad214
Parents: fcffc90
Author: Cosmin Dumitrache <co...@cloudsoftcorp.com>
Authored: Fri Jul 27 12:43:15 2012 +0100
Committer: Cosmin Dumitrache <co...@cloudsoftcorp.com>
Committed: Fri Jul 27 12:43:15 2012 +0100
----------------------------------------------------------------------
docs/style/style.css | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/d6d285e7/docs/style/style.css
----------------------------------------------------------------------
diff --git a/docs/style/style.css b/docs/style/style.css
index 134f8a3..ac96b2b 100644
--- a/docs/style/style.css
+++ b/docs/style/style.css
@@ -93,9 +93,11 @@ pre {
background-color:#e8eded;
padding: 1em;
font-size: 12px;
+ overflow-y: auto; /* horizontal scroll bar if line length is too long */
}
code {
font-family: Consolas, Lucida Console, Monaco, monospace;
font-size: 13px;
}
-pre code { font-size: 12px; }
\ No newline at end of file
+pre code { font-size: 12px; }
+.highlight { background-color:#e8eded; } /* clipboard icon should have the same background color as the code */