From 35a75950e0e985844dc22abb01f0830a1313466d Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Thu, 18 Jun 2015 07:55:26 -0700 Subject: [PATCH] [Docs] Better margins on sidebar --- website/src/react-native/css/react-native.css | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/website/src/react-native/css/react-native.css b/website/src/react-native/css/react-native.css index 30048ecd6..8fd1797f7 100644 --- a/website/src/react-native/css/react-native.css +++ b/website/src/react-native/css/react-native.css @@ -369,7 +369,7 @@ h1:hover .hash-link, h2:hover .hash-link, h3:hover .hash-link, h4:hover .hash-li .nav-docs ul { list-style: none; margin: 0; - margin-left: 10px; + margin-left: 1px; } .nav-docs ul ul { @@ -400,9 +400,13 @@ h1:hover .hash-link, h2:hover .hash-link, h3:hover .hash-link, h4:hover .hash-li } .nav-docs h3 { - margin: 0; line-height: 25px; - margin-top: 5px; + margin-top: 12px; + margin-bottom: 5px; +} + +.nav-docs .nav-docs-section:first-child h3 { + margin-top: 0; } .nav-docs .nav-docs-section:first-child {