Skip to content

Commit c28be41

Browse files
Fix layout (#733)
1 parent 2df3c81 commit c28be41

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎packages/docs/src/components/InteractionBreakdownChart.astro‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ const FRAMEWORK_LOGOS: Record<string, { dark: string; light?: string }> = {
253253
}
254254

255255
.horizontal-row {
256+
margin-block: 0;
256257
display: grid;
257258
grid-template-columns: 1.75rem minmax(0, 1fr);
258259
align-items: center;
@@ -304,6 +305,7 @@ const FRAMEWORK_LOGOS: Record<string, { dark: string; light?: string }> = {
304305
}
305306

306307
.horizontal-plot {
308+
margin-block: 0;
307309
position: relative;
308310
width: 100%;
309311
height: 46px;
@@ -318,6 +320,7 @@ const FRAMEWORK_LOGOS: Record<string, { dark: string; light?: string }> = {
318320
}
319321

320322
.bar-value {
323+
margin-block: 0;
321324
position: absolute;
322325
z-index: 3;
323326
top: 50%;
@@ -331,6 +334,7 @@ const FRAMEWORK_LOGOS: Record<string, { dark: string; light?: string }> = {
331334
}
332335

333336
.bar-segment {
337+
margin-block: 0;
334338
position: relative;
335339
display: block;
336340
min-width: 1px;

‎packages/docs/src/components/InteractionChartCaption.astro‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,14 @@ const { title } = Astro.props
7272
}
7373

7474
.legend li {
75+
margin-block: 0;
7576
display: flex;
7677
align-items: center;
7778
gap: 0.35rem;
7879
}
7980

8081
.swatch {
82+
flex-shrink: 0;
8183
width: 0.75rem;
8284
height: 0.75rem;
8385
border-radius: 0.2rem;

0 commit comments

Comments
 (0)