Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

Commit

Permalink
fix(panel): flex grow, shrink, basis for panel headers and footers
Browse files Browse the repository at this point in the history
re #642
  • Loading branch information
asangma authored Dec 12, 2019
1 parent 0d89578 commit 8c41414
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/calcite-panel/calcite-panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
.header {
align-items: center;
display: flex;
flex: 1 0 auto;
flex: 0 0 auto;
justify-content: space-between;
min-height: var(--calcite-app-header-min-height);
position: relative;
Expand Down Expand Up @@ -85,7 +85,7 @@ slot[name="header-content"]::slotted(.heading) {
.footer {
border-top: 1px solid var(--calcite-app-border);
display: flex;
flex: 1 0 auto;
flex: 0 0 auto;
justify-content: space-evenly;
min-height: var(--calcite-app-footer-min-height);
padding: var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-half);
Expand Down

0 comments on commit 8c41414

Please sign in to comment.