Skip to content

Commit

Permalink
fix(BuilderPage): use css variables for background and icon border co…
Browse files Browse the repository at this point in the history
…lor (#1110)
  • Loading branch information
marcalexiei authored Jan 4, 2025
1 parent 5f84956 commit b5de4a5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
6 changes: 6 additions & 0 deletions src/components/BuilderPage.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
-webkit-overflow-scrolling: touch;
}

.builder {
overflow: auto;
height: 100vh;
background: var(--color-background);
}

.pageWrapper {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
Expand Down
9 changes: 1 addition & 8 deletions src/components/BuilderPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -433,14 +433,7 @@ function BuilderPage({
}}
render={({ style }) => (
<main className={styles.root} style={style}>
<div
id="builder"
style={{
overflow: "auto",
height: "100vh",
background: colors.primary,
}}
>
<div id="builder" className={styles.builder}>
<button
className={styles.closeButton}
aria-label="close builder"
Expand Down
2 changes: 1 addition & 1 deletion src/components/Popup.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}

.icon {
border: 1px solid white;
border: 1px solid var(--color-text);
margin-left: 0;
margin-right: 5px;
}
Expand Down

0 comments on commit b5de4a5

Please sign in to comment.