1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-11 08:34:27 +02:00

Fix the background arrow issue

This commit is contained in:
Phuoc Nguyen
2021-04-01 14:52:09 +07:00
parent 48f4cf3422
commit 81918b861f
2 changed files with 2 additions and 1 deletions

View File

@@ -44,6 +44,7 @@ a {
/* Hero */
.hero {
--current-background-color: var(--background-color);
background: var(--background-color);
display: flex;
justify-content: center;

View File

@@ -31,7 +31,7 @@ const Cover: React.FC<{}> = () => {
>
<div
style={{
backgroundColor: '#FFF',
backgroundColor: 'var(--current-background-color, #FFF)',
borderBottom: '1px solid rgba(0, 0, 0, 0.3)',
borderRight: '1px solid rgba(0, 0, 0, 0.3)',
height: '10px',