Skip to content

Commit

Permalink
fix: added footer compliance - responsive (#15718)
Browse files Browse the repository at this point in the history
* fix: added footer compliance - responsive

* docs: added comment
  • Loading branch information
guidari committed Feb 8, 2024
1 parent 9616809 commit 8d775dd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/react/.storybook/manager-head.html
Expand Up @@ -84,6 +84,18 @@
display: none;
}

/* This style is required because of the compliance footer */
#root > div {
height: calc(100vh - 48px);
}

/* This style is required because of the compliance footer in smaller screens */
@media (max-width: 671px) {
nav[class^='css-'] {
height: 281px;
}
}

footer {
position: absolute;
bottom: 0;
Expand Down

0 comments on commit 8d775dd

Please sign in to comment.