mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 07:55:47 +01:00
remove short tooltips from long tooltip story
This commit is contained in:
@@ -92,26 +92,22 @@ storiesOf("Modal|Modal", module)
|
|||||||
<p>The following elements will have a verly long help text, which has triggered the scrollbar in the past.</p>
|
<p>The following elements will have a verly long help text, which has triggered the scrollbar in the past.</p>
|
||||||
<hr />
|
<hr />
|
||||||
<TopAndBottomMargin>
|
<TopAndBottomMargin>
|
||||||
<Checkbox label="Classic helpText" checked={false} helpText="This is a classic help text." />
|
<Checkbox label="Checkbox" checked={true} helpText={text} />
|
||||||
<Checkbox label="Long helpText" checked={true} helpText={text} />
|
|
||||||
</TopAndBottomMargin>
|
|
||||||
<hr />
|
|
||||||
<RadioList>
|
|
||||||
<Radio label="Classic helpText" checked={true} helpText="This is a classic help text." />
|
|
||||||
<Radio label="Long helpText" checked={false} helpText={text} />
|
|
||||||
</RadioList>
|
|
||||||
<hr />
|
|
||||||
<TopAndBottomMargin>
|
|
||||||
<InputField onChange={doNothing} label="Classic helpText" helpText="This is a classic help text." />
|
|
||||||
<InputField onChange={doNothing} label="Long helpText" helpText={text} />
|
|
||||||
</TopAndBottomMargin>
|
</TopAndBottomMargin>
|
||||||
<hr />
|
<hr />
|
||||||
<TopAndBottomMargin>
|
<TopAndBottomMargin>
|
||||||
<Textarea onChange={doNothing} label="Classic helpText" helpText="This is a classic help text." />
|
<Radio label="Radio button" checked={false} helpText={text} />
|
||||||
<Textarea onChange={doNothing} label="Long helpText" helpText={text} />
|
|
||||||
</TopAndBottomMargin>
|
</TopAndBottomMargin>
|
||||||
<hr />
|
<hr />
|
||||||
<p>If this modal has not horizontal scrollbar the issue is fixed</p>
|
<TopAndBottomMargin>
|
||||||
|
<InputField onChange={doNothing} label="Input" helpText={text} />
|
||||||
|
</TopAndBottomMargin>
|
||||||
|
<hr />
|
||||||
|
<TopAndBottomMargin>
|
||||||
|
<Textarea onChange={doNothing} label="Textarea" helpText={text} />
|
||||||
|
</TopAndBottomMargin>
|
||||||
|
<hr />
|
||||||
|
<p>If this modal has no horizontal scrollbar the issue is fixed</p>
|
||||||
</NonCloseableModal>
|
</NonCloseableModal>
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user