Skip to content

Commit

Permalink
Cleaning up storybook + css comment
Browse files Browse the repository at this point in the history
  • Loading branch information
SonicScrewdriver committed Aug 27, 2024
1 parent e45d031 commit 8977f11
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,6 @@ export const MafsWithLargeRange = (args: StoryArgs): React.ReactElement => (

export const MafsWithYAxisAtLeft = (args: StoryArgs): React.ReactElement => (
<>
<MafsQuestionRenderer
question={interactiveGraphQuestionBuilder()
.withXRange(0, 20)
.build()}
/>
<MafsQuestionRenderer
question={interactiveGraphQuestionBuilder()
.withXRange(0, 20)
Expand All @@ -97,12 +92,6 @@ export const MafsWithYAxisAtLeft = (args: StoryArgs): React.ReactElement => (

export const MafsWithYAxisNearLeft = (args: StoryArgs): React.ReactElement => (
<>
{" "}
<MafsQuestionRenderer
question={interactiveGraphQuestionBuilder()
.withXRange(-1, 20)
.build()}
/>
<MafsQuestionRenderer
question={interactiveGraphQuestionBuilder()
.withXRange(-1, 20)
Expand All @@ -116,12 +105,6 @@ export const MafsWithYAxisJustOverLeft = (
args: StoryArgs,
): React.ReactElement => (
<>
{" "}
<MafsQuestionRenderer
question={interactiveGraphQuestionBuilder()
.withXRange(-3, 20)
.build()}
/>
<MafsQuestionRenderer
question={interactiveGraphQuestionBuilder()
.withXRange(-3, 20)
Expand Down Expand Up @@ -189,11 +172,6 @@ export const MafsWithXAxisJustOverBottom = (
args: StoryArgs,
): React.ReactElement => (
<>
<MafsQuestionRenderer
question={interactiveGraphQuestionBuilder()
.withYRange(-3, 20)
.build()}
/>
<MafsQuestionRenderer
question={interactiveGraphQuestionBuilder()
.withYRange(-3, 20)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
.MafsView > svg {
/* Chrome/Safari bugfix for LEMS-1906 */
display: block;
overflow: visible; /* <= our change */
overflow: visible; /* LEMS-2035: This ensures that Mafs doesn't clip the axis labels */
}

.MafsView .movable-line:hover,
Expand Down Expand Up @@ -263,6 +263,5 @@
.MafsView .angle-arc,
.MafsView .arc-right-angle {
stroke: var(--mafs-blue);

stroke-width: 0.1px;
}

0 comments on commit 8977f11

Please sign in to comment.