New storybook CSS helpers (hover region, multiples variations)

This commit is contained in:
Michael Lange
2021-03-08 12:39:02 -08:00
parent 57da27c148
commit f7358ed17e

View File

@@ -122,6 +122,17 @@
flex-wrap: wrap;
align-items: center;
justify-content: center;
&.with-spacing {
> * {
margin-right: 1em;
margin-bottom: 1em;
}
}
&.is-left-aligned {
justify-content: flex-start;
}
}
.chart-container {
@@ -162,4 +173,17 @@
}
}
}
.mock-hover-region {
width: 200px;
height: 100px;
position: relative;
border-radius: $radius;
margin: 1em 0;
padding: 1em;
border: 1px solid $grey-blue;
background: $white-ter;
color: $grey;
font-weight: $weight-bold;
}
}