From b9fcfb1d2ae1607fc50ead345b939036f1bcaab0 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 24 Sep 2018 18:05:57 +0200 Subject: [PATCH] Fix weird CSS bug with production build and CSS var --- client/src/sass/primeng-custom.scss | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss index da6799250..bbc136c40 100644 --- a/client/src/sass/primeng-custom.scss +++ b/client/src/sass/primeng-custom.scss @@ -60,7 +60,8 @@ p-table { th { border: none !important; - border-bottom: 1px solid var(--submenuColor) !important; + border-bottom: 1px solid !important; + border-color: var(--submenuColor) !important; text-align: left !important; padding: 5px 0 5px 15px !important; font-weight: $font-semibold !important; @@ -68,7 +69,8 @@ p-table { &.ui-sortable-column:hover { background-color: var(--submenuColor) !important; - border: 1px solid var(--submenuColor) !important; + border: 1px solid !important; + border-color: var(--submenuColor) !important; border-width: 0 1px !important; &:first-child { @@ -111,7 +113,8 @@ p-table { .ui-paginator-bottom { background-color: var(--mainBackgroundColor) !important; position: relative; - border: 1px solid var(--submenuColor) !important; + border: 1px solid !important; + border-color: var(--submenuColor) !important; height: 40px; display: flex; justify-content: center; @@ -159,7 +162,7 @@ p-table { a { color: #000 !important; font-weight: $font-semibold !important; - margin-right: 0 10px !important; + margin: 0 10px !important; outline: 0 !important; border-radius: 3px !important; padding: 5px 2px !important;