We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When a <cc-toggle> with an inlined label is inside a gride area, an extra margin is displayed on top of it.
<cc-toggle>
<div class="grid"> <div class="area1"><cc-toggle inline legend="legend" choices='[{ "label": "on", "value": "on" },{ "label": "off", "value": "off" }]'></cc-toggle></div> <div class="area2">area 2</div> <div class="area3">area 3</div> </div>
.grid { display: grid; grid-template-areas: 'area1 area3' 'area2 area3'; grid-template-columns: 250px 1fr; grid-template-rows: max-content 1fr; gap: 1em; } .area1 { grid-area: area1; background-color: indianred; } .area2 { grid-area: area2; background-color: steelblue; } .area3 { grid-area: area3; background-color: darkseagreen; }
The text was updated successfully, but these errors were encountered:
fix(cc-toggle): fix extra margin on top of cc-toggle when legend is i…
653e74e
…nlined and when inside a grid Fixes #896
2958811
a59ba34
pdesoyres-cc
Successfully merging a pull request may close this issue.
When a
<cc-toggle>
with an inlined label is inside a gride area, an extra margin is displayed on top of it.The text was updated successfully, but these errors were encountered: