Skip to content

Commit 1285da9

Browse files
committed
Update css to keep stories above footer
1 parent 29b8044 commit 1285da9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.storybook/manager-head.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
<a href="https://www.microsoft.com/en-us/legal/intellectualproperty/copyright/default">Term of use</a>
3737
</footer>
3838
<style>
39+
#root > div:first-of-type {
40+
height: calc(100% - 40px);
41+
}
42+
3943
.storybook-footer {
4044
position: absolute;
4145
bottom: 0;
@@ -54,4 +58,10 @@
5458
.storybook-footer a:hover {
5559
color: #323232;
5660
}
61+
62+
@media (max-width: 768px) {
63+
#root > div:first-of-type {
64+
height: calc(100% - 50px);
65+
}
66+
}
5767
</style>

0 commit comments

Comments
 (0)