From 85673463388023ea154bae78b11aa70300b83435 Mon Sep 17 00:00:00 2001 From: rheo-chiti Date: Thu, 20 Feb 2020 18:00:34 +0530 Subject: [PATCH 1/2] Icon cutoff fix --- client/src/App.js | 4 ++-- client/src/Menu.css | 4 ++-- client/src/Menu.js | 11 ++++++----- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/client/src/App.js b/client/src/App.js index dc508e8..9548f4b 100644 --- a/client/src/App.js +++ b/client/src/App.js @@ -1,5 +1,5 @@ import React, { Component } from 'react'; -import EpicMenu from './EpicMenu'; +import Menu from './Menu'; import logo from './logo.png'; class App extends Component { @@ -13,7 +13,7 @@ class App extends Component { return (
- +
); } diff --git a/client/src/Menu.css b/client/src/Menu.css index 3b271b6..95f5008 100644 --- a/client/src/Menu.css +++ b/client/src/Menu.css @@ -2,8 +2,8 @@ background-color: white; box-shadow: 0px 2px 24px 0px rgba(0, 0, 0, 0.15); border-radius: 8px; - width: 752px; - height: 80px; + width: 800px; + height: 120px; display: flex; justify-content: space-between; padding: 0 40px; diff --git a/client/src/Menu.js b/client/src/Menu.js index fd1cadb..f0b2c01 100644 --- a/client/src/Menu.js +++ b/client/src/Menu.js @@ -1,5 +1,5 @@ import React, { Component } from 'react'; -import './EpicMenu.css'; +import './Menu.css'; import searchIcon from './search-icon.png'; class Menu extends Component { @@ -28,8 +28,8 @@ class Menu extends Component { let linkMarkup = link.active ? ( {link.label} ) : ( - {link.label} - ); + {link.label} + ); return (
  • @@ -41,7 +41,8 @@ class Menu extends Component { return (