From 9b559a13ee5077d3d997e0bf267e00c66888f8c2 Mon Sep 17 00:00:00 2001 From: Stephen Fluin Date: Wed, 28 Apr 2021 01:28:28 -0700 Subject: [PATCH] remove pre spacing for tab bars In a previous commit we added 24 pixels of space above and below every code example. This unintentionally added space between the tab bar and the code sample. This negative margin removes the extra space. --- _src/docs.css | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/_src/docs.css b/_src/docs.css index 9a034ec4d1e..6dc2f779210 100644 --- a/_src/docs.css +++ b/_src/docs.css @@ -33,6 +33,7 @@ code-tabs { overflow-x: scroll; } .tab-bar { + margin-bottom: -18px; margin-top: 32px; white-space: nowrap; } @@ -72,7 +73,7 @@ rdme-callout > *:first-child { .cl-box-blue h2, .cl-box-blue h3 { color: #fff; - margin-top:0; + margin-top: 0; } /** Top Navigation */ @@ -368,8 +369,6 @@ hr { background-color: #375bd2; } - - .cl-box { width: 100%; height: auto; @@ -434,7 +433,7 @@ hr { background-color: #375bd2; border-radius: 16px; color: #fff; - padding:32px; + padding: 32px; } .cl-box-blue a { @@ -681,11 +680,11 @@ input[type='reset'] { .footer { padding: 120px 0 0; background-color: #252e42; - font-size:16px; + font-size: 16px; } .footer h3 { - font-size:16px; - font-weight:700; + font-size: 16px; + font-weight: 700; } .footer-grid {