aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-26 20:01:00 +0800
committerFabio Berger <me@fabioberger.com>2018-10-26 20:01:00 +0800
commit6696aa46ee675d2c0785117995a6f7780021e39c (patch)
tree60d61d7e4549202dee42d8ac268aa0a42d526592 /packages/website/ts
parent14a9770d576f0fa4ff13853ca821e1774608bfdd (diff)
downloaddexon-sol-tools-6696aa46ee675d2c0785117995a6f7780021e39c.tar
dexon-sol-tools-6696aa46ee675d2c0785117995a6f7780021e39c.tar.gz
dexon-sol-tools-6696aa46ee675d2c0785117995a6f7780021e39c.tar.bz2
dexon-sol-tools-6696aa46ee675d2c0785117995a6f7780021e39c.tar.lz
dexon-sol-tools-6696aa46ee675d2c0785117995a6f7780021e39c.tar.xz
dexon-sol-tools-6696aa46ee675d2c0785117995a6f7780021e39c.tar.zst
dexon-sol-tools-6696aa46ee675d2c0785117995a6f7780021e39c.zip
style: make line-height of sidebar title 26px, make sure still bottom aligned with version picker
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/components/documentation/sidebar_header.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/website/ts/components/documentation/sidebar_header.tsx b/packages/website/ts/components/documentation/sidebar_header.tsx
index fece2704b..9ced52c74 100644
--- a/packages/website/ts/components/documentation/sidebar_header.tsx
+++ b/packages/website/ts/components/documentation/sidebar_header.tsx
@@ -29,6 +29,7 @@ export const SidebarHeader: React.StatelessComponent<SidebarHeaderProps> = ({
fontColor={colors.lightLinkBlue}
fontSize={screenWidth === ScreenWidths.Sm ? '20px' : '22px'}
fontWeight="bold"
+ lineHeight="26px"
>
{title}
</Text>
@@ -36,7 +37,7 @@ export const SidebarHeader: React.StatelessComponent<SidebarHeaderProps> = ({
{!_.isUndefined(docsVersion) &&
!_.isUndefined(availableDocVersions) &&
!_.isUndefined(onVersionSelected) && (
- <div className="right" style={{ alignSelf: 'flex-end' }}>
+ <div className="right" style={{ alignSelf: 'flex-end', paddingBottom: 4 }}>
<VersionDropDown
selectedVersion={docsVersion}
versions={availableDocVersions}