fix acp scrolling

This commit is contained in:
ntr committed 2023-02-02 21:29:40 +11:00
1 parent f3813c0f61
commit c4cc12850d
4 files changed
+25 -22

No files matched your search

+1 -1
View File
@@ -75,7 +75,7 @@ function Home() {
}
return (
<div>
<div class='acp'>
<button onClick={sync}> sync listings </button>
<button onClick={sync}> generate offers </button>
<hr />
+20 -16
View File
@@ -236,29 +236,33 @@ main {
}
}
.bundles {
flex-flow: row;
.acp {
overflow: scroll;
.bundle {
margin-bottom: var(--spacing-double);
.bundles {
flex-flow: row;
section {
margin-bottom: var(--spacing);
}
.bundle {
margin-bottom: var(--spacing-double);
.items {
display: grid;
grid-template-columns: repeat(5, 1fr);
div {
margin-right: var(--spacing);
section {
margin-bottom: var(--spacing);
}
.items {
display: grid;
grid-template-columns: repeat(5, 1fr);
&.bold {
font-weight: bold;
background: var(--background-2);
div {
margin-right: var(--spacing);
margin-bottom: var(--spacing);
display: grid;
&.bold {
font-weight: bold;
background: var(--background-2);
}
}
}
}