summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/gitbook-plugin-headings/_assets/website/headings.css3
-rw-r--r--packages/gitbook-plugin-theme-default/less/Page.less1
-rw-r--r--packages/gitbook-plugin-theme-default/less/Sidebar.less1
-rw-r--r--packages/gitbook-plugin-theme-default/less/Summary.less16
-rw-r--r--packages/gitbook-plugin-theme-default/src/components/Summary.js2
5 files changed, 13 insertions, 10 deletions
diff --git a/packages/gitbook-plugin-headings/_assets/website/headings.css b/packages/gitbook-plugin-headings/_assets/website/headings.css
index 2d98332..b606ab6 100644
--- a/packages/gitbook-plugin-headings/_assets/website/headings.css
+++ b/packages/gitbook-plugin-headings/_assets/website/headings.css
@@ -1,6 +1,3 @@
-.Page {
- overflow: visible;
-}
.Headings-Container {
position: relative;
diff --git a/packages/gitbook-plugin-theme-default/less/Page.less b/packages/gitbook-plugin-theme-default/less/Page.less
index 979377c..bd709dd 100644
--- a/packages/gitbook-plugin-theme-default/less/Page.less
+++ b/packages/gitbook-plugin-theme-default/less/Page.less
@@ -7,6 +7,7 @@
padding: 20px 15px 40px 15px;
.gitbook-markdown(@md-color: @page-color, @md-line-height: @page-line-height);
+ overflow: visible;
.glossary-term {
cursor: help;
diff --git a/packages/gitbook-plugin-theme-default/less/Sidebar.less b/packages/gitbook-plugin-theme-default/less/Sidebar.less
index 8e159dc..82d4165 100644
--- a/packages/gitbook-plugin-theme-default/less/Sidebar.less
+++ b/packages/gitbook-plugin-theme-default/less/Sidebar.less
@@ -3,4 +3,5 @@
background: @sidebar-background;
background: rgb(250, 250, 250);
border-right: 1px solid @sidebar-border-color;
+ overflow-y: auto;
}
diff --git a/packages/gitbook-plugin-theme-default/less/Summary.less b/packages/gitbook-plugin-theme-default/less/Summary.less
index e717d63..d6ad42d 100644
--- a/packages/gitbook-plugin-theme-default/less/Summary.less
+++ b/packages/gitbook-plugin-theme-default/less/Summary.less
@@ -3,12 +3,16 @@
}
.SummaryPart {
- > h1 {
- padding: @summary-article-padding-v @summary-article-padding-h;
- padding-top: 20px;
- text-transform: uppercase;
- color: @summary-header-color;
- }
+
+}
+
+.SummaryPart-Title {
+ padding: @summary-article-padding-v @summary-article-padding-h;
+ padding-top: 20px;
+ text-transform: uppercase;
+ color: @summary-header-color;
+ font-size: inherit;
+ font-weight: inherit;
}
.SummaryArticles {
diff --git a/packages/gitbook-plugin-theme-default/src/components/Summary.js b/packages/gitbook-plugin-theme-default/src/components/Summary.js
index 01f3044..d0fbde6 100644
--- a/packages/gitbook-plugin-theme-default/src/components/Summary.js
+++ b/packages/gitbook-plugin-theme-default/src/components/Summary.js
@@ -58,7 +58,7 @@ const SummaryPart = React.createClass({
const { part } = this.props;
const { title, articles } = part;
- const titleEL = title ? <h2>{title}</h2> : null;
+ const titleEL = title ? <h2 className="SummaryPart-Title">{title}</h2> : null;
return (
<GitBook.InjectedComponent matching={{ role: 'summary:part' }} props={this.props}>