We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9fd6d7c + 19b8da5 commit 50a31f1Copy full SHA for 50a31f1
src/routes/Devilstable.svelte
@@ -5,6 +5,7 @@
5
const DATA_MAX = 827;
6
7
const brushDimension = 200;
8
+ const brushDimensionWithSafetyPixel = brushDimension + 1; // fixes a glitch, where Brush and Detail don't fit next to each other on PageResize.
9
10
let selection = $state({ start: 1, end: 100 });
11
@@ -91,14 +92,14 @@
91
92
</script>
93
94
<Brush
- height={mobile ? brushDimension : height}
95
width={mobile ? width : brushDimension}
96
+ height={mobile ? brushDimension : height}
97
data={boolData}
98
brushE={(e) => (selection = e)}
99
/>
100
<Detail
101
{codices}
- width={mobile ? width : width - brushDimension}
102
+ width={mobile ? width : width - brushDimensionWithSafetyPixel}
103
height={mobile ? height - brushDimension : height}
104
data={[
105
{
0 commit comments