Skip to content
#

stenciljs

Here are 365 public repositories matching this topic...

deckdeckgo
JayaKrishnaNamburu
JayaKrishnaNamburu commented May 13, 2021

When generating React with StyledComponents, we can improve when we are inheriting projectStyles. Example

<Container2>Testing</Container2>

const Container2 = styled.div`
  ${PrimaryButton};
`

Container2 is inheriting PrimaryButton, but since Container2 doesn't have any styles specified on it directly. We can just directly assign it to the node.

It can be improv

calcite-components
macandcheese
macandcheese commented Jan 23, 2021

Summary

By default an accordion should take up the entire width of the parent container. Right now it's set to max-width: 100%, which means that if content within the accordion's open items is not being displayed, the longest piece of text will set the extent of the component.

Setting the component to 100% width will make it more predictable when placing within containers that have flex s

Improve this page

Add a description, image, and links to the stenciljs topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the stenciljs topic, visit your repo's landing page and select "manage topics."

Learn more