diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-24 18:05:57 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-24 18:05:57 +0200 |
commit | b9fcfb1d2ae1607fc50ead345b939036f1bcaab0 (patch) | |
tree | c5046de3a12d41e79d2858068c4da330f4613beb /client/src | |
parent | a7f9fae9ab7df84936d7fef0c94dbd089e4644d2 (diff) | |
download | PeerTube-b9fcfb1d2ae1607fc50ead345b939036f1bcaab0.tar.gz PeerTube-b9fcfb1d2ae1607fc50ead345b939036f1bcaab0.tar.zst PeerTube-b9fcfb1d2ae1607fc50ead345b939036f1bcaab0.zip |
Fix weird CSS bug with production build and CSS var
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/sass/primeng-custom.scss | 11 |
1 files 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 { | |||
60 | 60 | ||
61 | th { | 61 | th { |
62 | border: none !important; | 62 | border: none !important; |
63 | border-bottom: 1px solid var(--submenuColor) !important; | 63 | border-bottom: 1px solid !important; |
64 | border-color: var(--submenuColor) !important; | ||
64 | text-align: left !important; | 65 | text-align: left !important; |
65 | padding: 5px 0 5px 15px !important; | 66 | padding: 5px 0 5px 15px !important; |
66 | font-weight: $font-semibold !important; | 67 | font-weight: $font-semibold !important; |
@@ -68,7 +69,8 @@ p-table { | |||
68 | 69 | ||
69 | &.ui-sortable-column:hover { | 70 | &.ui-sortable-column:hover { |
70 | background-color: var(--submenuColor) !important; | 71 | background-color: var(--submenuColor) !important; |
71 | border: 1px solid var(--submenuColor) !important; | 72 | border: 1px solid !important; |
73 | border-color: var(--submenuColor) !important; | ||
72 | border-width: 0 1px !important; | 74 | border-width: 0 1px !important; |
73 | 75 | ||
74 | &:first-child { | 76 | &:first-child { |
@@ -111,7 +113,8 @@ p-table { | |||
111 | .ui-paginator-bottom { | 113 | .ui-paginator-bottom { |
112 | background-color: var(--mainBackgroundColor) !important; | 114 | background-color: var(--mainBackgroundColor) !important; |
113 | position: relative; | 115 | position: relative; |
114 | border: 1px solid var(--submenuColor) !important; | 116 | border: 1px solid !important; |
117 | border-color: var(--submenuColor) !important; | ||
115 | height: 40px; | 118 | height: 40px; |
116 | display: flex; | 119 | display: flex; |
117 | justify-content: center; | 120 | justify-content: center; |
@@ -159,7 +162,7 @@ p-table { | |||
159 | a { | 162 | a { |
160 | color: #000 !important; | 163 | color: #000 !important; |
161 | font-weight: $font-semibold !important; | 164 | font-weight: $font-semibold !important; |
162 | margin-right: 0 10px !important; | 165 | margin: 0 10px !important; |
163 | outline: 0 !important; | 166 | outline: 0 !important; |
164 | border-radius: 3px !important; | 167 | border-radius: 3px !important; |
165 | padding: 5px 2px !important; | 168 | padding: 5px 2px !important; |