From cc98ae7ebc4feadeedb639d6f72954e85facd6a6 Mon Sep 17 00:00:00 2001 From: mohitb35 <44917347+mohitb35@users.noreply.github.com> Date: Tue, 29 Nov 2022 16:41:33 +0530 Subject: [PATCH] fix: resolve codefactor warnings for css --- styles/globals.scss | 2 +- styles/projects.scss | 16 ++++++---------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/styles/globals.scss b/styles/globals.scss index a5e810da..6ad65aa2 100644 --- a/styles/globals.scss +++ b/styles/globals.scss @@ -83,8 +83,8 @@ button { margin: 0; padding: 0; border: 0; - font-size: 100%; font: inherit; + font-size: 100%; vertical-align: baseline; font-family: $primaryFontFamily; background-color: transparent; diff --git a/styles/projects.scss b/styles/projects.scss index f6e46027..561c6bf0 100644 --- a/styles/projects.scss +++ b/styles/projects.scss @@ -1,6 +1,6 @@ @import "./theme"; -.project-search-input{ +.project-search-input { height: 48px; width: 100%; border-radius: 24px; @@ -13,7 +13,7 @@ height: 18px; margin-right: 8px; } - > input{ + > input { border: 0px; flex-grow: 1; background-color: transparent; @@ -21,7 +21,6 @@ } } - .project-container { display: grid; grid-template-columns: repeat(2, 1fr); @@ -41,7 +40,7 @@ background-color: $backgroundColorDark; border: 1px solid $primaryColor; } - + .project-name { font-weight: 600; margin-top: 6px; @@ -62,7 +61,7 @@ background-color: #fff; box-shadow: 0px 3px 6px -3px rgba($color: #000000, $alpha: 0.16); } -.no-project-organisation-image{ +.no-project-organisation-image { background-color: $primaryDarkColor; color: white; font-weight: bold; @@ -70,12 +69,9 @@ justify-content: center; align-items: center; } -@include smTabletView { - -} -@include lgLaptopView{ +@include lgLaptopView { .project-container { grid-template-columns: repeat(2, 1fr); } -} \ No newline at end of file +}