Skip to content

Commit

Permalink
fix(live-doc): fixes flow for texts
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Stanislawski committed Nov 7, 2015
1 parent c83967e commit 3855071
Show file tree
Hide file tree
Showing 2 changed files with 177 additions and 81 deletions.
28 changes: 20 additions & 8 deletions docs/css/_documentation.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
code {
word-wrap: break-word;
}
// Layout

// Navigation
Expand Down Expand Up @@ -146,7 +149,7 @@
}
> .highlight, > .row .highlight {
pre {
border: 1px solid #a3b6cb;
border: 0;
.o {
color: inherit;
}
Expand Down Expand Up @@ -223,6 +226,17 @@
}
}

.codebox-combo {
clear: both;
& > p {
float: left;
max-width: 50%;
}
.code-box {
float: right;
}
}

// Code box

.code-samples {
Expand Down Expand Up @@ -433,9 +447,6 @@
img {
max-width: 100%;
}
code {
word-wrap: break-word;
}
.widget-description {
padding: 0;
}
Expand All @@ -445,7 +456,7 @@
}
.documentation-content{
padding: 20px 0;
p, h1, h2, h3, h4, .h4, div[id], ul {
p, h1, h2, h3, h4, .h4, div[id], ul, .highlight {
margin-right: 0;
width: 100%;
max-width: 100%;
Expand All @@ -454,6 +465,10 @@
padding: 9.5px;
}
}
.highlight pre {
margin: 0;
border-radius: 0;
}
.code-box {
width: 100%;
background: #172c4f;
Expand All @@ -473,9 +488,6 @@
}
}
}
.highlight pre {
margin: 0;
}
.jsdoc {
margin: 0;
}
Expand Down
Loading

0 comments on commit 3855071

Please sign in to comment.