Skip to content

Commit da71cf0

Browse files
committed
Merge branch 'master' of github.com:dart-lang/dartdoc into fix-type-params
2 parents 67ff903 + ffd9857 commit da71cf0

File tree

4 files changed

+18
-8
lines changed

4 files changed

+18
-8
lines changed

lib/resources/styles.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,6 @@ main {
7979
padding: 20px 15px 0 30px;
8080
}
8181

82-
.main-content p {
83-
max-width: 700px;
84-
}
85-
8682
.sidebar,
8783
.main-content {
8884
margin: 20px 0;
@@ -416,6 +412,10 @@ footer a, footer a:hover {
416412
color: #fff;
417413
}
418414

415+
.markdown.desc {
416+
max-width: 700px;
417+
}
418+
419419
.markdown h1 {
420420
font-size: 24px;
421421
margin-bottom: 8px;

testing/test_package/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ It also has some awesome code
1414
void main() {
1515
// in Dart!
1616
}
17+
18+
/*
19+
80-characters: to ensure default styles accommodate Dart line length convention.
20+
01234567890123456789012345678901234567890123456789012345678901234567890123456789
21+
*/
1722
```
1823

1924
```yaml

testing/test_package_docs/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ <h1>Best Package</h1>
6060
<pre class="language-dart"><code class="language-dart">void main() {
6161
// in Dart!
6262
}
63+
64+
/*
65+
80-characters: to ensure default styles accommodate Dart line length convention.
66+
01234567890123456789012345678901234567890123456789012345678901234567890123456789
67+
*/
6368
</code></pre>
6469
<pre class="language-yaml"><code class="language-yaml">and_yaml:
6570
- value

testing/test_package_docs/static-assets/styles.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,6 @@ main {
7979
padding: 20px 15px 0 30px;
8080
}
8181

82-
.main-content p {
83-
max-width: 700px;
84-
}
85-
8682
.sidebar,
8783
.main-content {
8884
margin: 20px 0;
@@ -416,6 +412,10 @@ footer a, footer a:hover {
416412
color: #fff;
417413
}
418414

415+
.markdown.desc {
416+
max-width: 700px;
417+
}
418+
419419
.markdown h1 {
420420
font-size: 24px;
421421
margin-bottom: 8px;

0 commit comments

Comments
 (0)