From 2750c82bafe3a967c5941cf7504fc0a140b0925a Mon Sep 17 00:00:00 2001 From: andres alcocer Date: Fri, 16 Dec 2022 14:41:58 -0500 Subject: [PATCH] fixed button styling --- src/components/Button/button.scss | 2 +- src/components/Header.tsx | 11 +++++-- src/components/Navbar.tsx | 7 ++--- src/static/images/more-info.svg | 1 + src/static/images/play-button.svg | 39 +------------------------ src/static/images/search-icon.svg | 12 +------- src/static/sass/layout/_header.scss | 21 ++++++++----- src/static/sass/layout/_navigation.scss | 8 ++--- 8 files changed, 31 insertions(+), 70 deletions(-) create mode 100644 src/static/images/more-info.svg diff --git a/src/components/Button/button.scss b/src/components/Button/button.scss index 3e1c557..0033f95 100644 --- a/src/components/Button/button.scss +++ b/src/components/Button/button.scss @@ -12,7 +12,7 @@ will-change: background-color, color; word-break: break-word; white-space: nowrap; - font-size: 1.2vw; + font-size: 17px; font-weight: 500; line-height: 2.4rem; font-family: 'Netflix Sans', 'Helvetica Neue', 'Segoe UI', 'Roboto', 'Ubuntu', diff --git a/src/components/Header.tsx b/src/components/Header.tsx index f32b880..39f1a08 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -3,7 +3,7 @@ import React, { useState } from 'react' import PlayLogo from '../static/images/play-button.svg' import { ButtonType } from './Button/Button' import Button from './Button/Button' -import AddLogo from '../static/images/add.svg' +import MoreInfo from '../static/images/more-info.svg' import MuteIcon from '../static/images/mute.svg' import UnmuteIcon from '../static/images/unmute.svg' import ReactPlayer from 'react-player' @@ -29,13 +29,18 @@ const Header = ({ name, overview }: IHeader) => { url='https://vimeo.com/384025132' />

{name}

-