grafana/packages/grafana-ui/src/components/CustomScrollbar/__snapshots__/CustomScrollbar.test.tsx.snap

83 lines
1.5 KiB
Plaintext
Raw Normal View History

2018-09-06 07:36:22 -05:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`CustomScrollbar renders correctly 1`] = `
2018-09-06 07:36:22 -05:00
<div
className="css-12b7m5k"
2018-09-06 07:36:22 -05:00
style={
{
2018-09-06 07:36:22 -05:00
"height": "auto",
2019-01-07 04:19:44 -06:00
"maxHeight": "100%",
2019-01-26 04:04:50 -06:00
"minHeight": "0",
2018-09-06 07:36:22 -05:00
"overflow": "hidden",
"position": "relative",
"width": "100%",
}
}
>
<div
className="scrollbar-view"
2018-09-06 07:36:22 -05:00
style={
{
"WebkitOverflowScrolling": "auto",
2018-09-06 07:36:22 -05:00
"bottom": undefined,
"left": undefined,
"marginBottom": 0,
"marginRight": 0,
2019-01-07 04:19:44 -06:00
"maxHeight": "calc(100% + 0px)",
2019-01-26 04:04:50 -06:00
"minHeight": "calc(0 + 0px)",
2018-09-06 07:36:22 -05:00
"overflow": "scroll",
"position": "relative",
"right": undefined,
"top": undefined,
}
}
>
<p>
Scrollable content
</p>
2018-09-06 07:36:22 -05:00
</div>
<div
className="track-horizontal"
2018-09-06 07:36:22 -05:00
style={
{
2018-09-06 07:36:22 -05:00
"display": "none",
"height": 6,
"position": "absolute",
}
}
>
<div
className="thumb-horizontal"
style={
{
2018-09-06 07:36:22 -05:00
"display": "block",
"height": "100%",
"position": "relative",
}
}
/>
</div>
<div
className="track-vertical"
2018-09-06 07:36:22 -05:00
style={
{
2018-09-06 07:36:22 -05:00
"display": "none",
"position": "absolute",
"width": 6,
}
}
>
<div
className="thumb-vertical"
style={
{
2018-09-06 07:36:22 -05:00
"display": "block",
"position": "relative",
"width": "100%",
}
}
/>
</div>
</div>
`;