Skip to content

Commit

Permalink
Applies flex styling to inner ‹div› of ‹dia-po› only when fullbleed
Browse files Browse the repository at this point in the history
… attribute set (#3)
  • Loading branch information
olange committed Mar 18, 2019
1 parent 7c83632 commit dcf069e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/dia-show/shared-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ const
align-items: center; justify-content: center }
:host([ default]) {
box-shadow: 1px 1px 5px 1px #dfdfdf }
div {
display: flex; flex-grow: 1 }
:host([ fullbleed]) div {
width: 100%; height: 100% }
display: flex; flex-grow: 1;
width: 100%; height: 100%;
flex-direction: column }
`,
DiaDisplaySelectorStyles = css`
:host { display: inline-flex }
Expand Down

0 comments on commit dcf069e

Please sign in to comment.