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

Commit

Permalink
feat(panel): tweak for FAB slot when h-scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
asangma committed May 1, 2020
1 parent 33c9575 commit 530ca8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/calcite-panel/calcite-panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,7 @@
bottom: 0;
display: inline-block;
margin: 0 auto;
padding: var(--calcite-app-cap-spacing) 0;
padding: var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-half);
left: 0;
right: 0;
}
1 change: 1 addition & 0 deletions src/demos/shell/demo-app-advanced-center-row.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ <h2>Boomer v Millennial - California</h2>
<calcite-panel heading="Data table" summary="US Demographics - Country - County">
<calcite-action slot="header-leading-content" text="Switch layer" icon="caret-down"></calcite-action>
<calcite-action slot="header-trailing-content" text="Expand" icon="expand" id="expand-trigger"></calcite-action>
<calcite-fab slot="fab"></calcite-fab>
<div class="header" slot="header-content">
Data table<br/>US Demographics - Country - County
</div>
Expand Down

0 comments on commit 530ca8c

Please sign in to comment.