[devdocsgjs/main: 1/239] Add 'report a bug' button




commit 7fdfd51bdbc9c1a5b45628cc8e1648d442e14a75
Author: Enoc <brianhernandez222 hotmail com>
Date:   Wed Apr 21 16:46:32 2021 -0600

    Add 'report a bug' button

 assets/stylesheets/components/_header.scss | 2 +-
 views/app.erb                              | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/assets/stylesheets/components/_header.scss b/assets/stylesheets/components/_header.scss
index e74830aa..03c302a8 100644
--- a/assets/stylesheets/components/_header.scss
+++ b/assets/stylesheets/components/_header.scss
@@ -62,7 +62,7 @@
   top: .25rem;
   right: .25rem;
   width: 8.5rem;
-  height: calc(13.75rem + 1px);
+  height: calc(2.25rem  * 6 + 2.5rem + 1px); // (height of each menu element * total menu elements + menu 
title element total height + menu title border size)
   white-space: nowrap;
   word-wrap: normal;
   overflow-wrap: normal;
diff --git a/views/app.erb b/views/app.erb
index ffaa1bf3..13890a5b 100644
--- a/views/app.erb
+++ b/views/app.erb
@@ -25,6 +25,7 @@
       <a href="/news" class="_menu-link">Changelog</a>
       <a href="/help" class="_menu-link">Guide</a>
       <a href="/about" class="_menu-link">About</a>
+      <a href="https://github.com/freeCodeCamp/devdocs/issues/new/choose"; class="_menu-link">Report a bug</a>
     </nav>
   </header>
   <section class="_sidebar" tabindex="-1">


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]