mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
docs(expandable-tile): add "With interactive content" example (#1465)
* style(docs): apply `code-01` styles to component api type, default value * docs(expandable-tile): add "With interactive content" example (#1464) * docs(overflow-menu): do not open flipped example by default
This commit is contained in:
parent
94ea06bfbc
commit
6ec48312ff
5 changed files with 40 additions and 17 deletions
|
@ -50,8 +50,9 @@
|
|||
</svelte:fragment>
|
||||
|
||||
<span slot="platform" class="platform-name">
|
||||
Carbon Components Svelte
|
||||
<code>v{process.env.VERSION || ""}</code>
|
||||
Carbon Components Svelte <code class="code-01"
|
||||
>v{process.env.VERSION || ""}</code
|
||||
>
|
||||
</span>
|
||||
|
||||
<HeaderUtilities>
|
||||
|
@ -135,15 +136,6 @@
|
|||
align-items: baseline;
|
||||
}
|
||||
|
||||
.platform-name code {
|
||||
margin-left: var(--cds-spacing-02);
|
||||
font-size: var(--cds-code-01-font-size);
|
||||
font-weight: var(--cds-code-01-font-weight);
|
||||
letter-spacing: var(--cds-code-01-letter-spacing);
|
||||
line-height: var(--cds-code-01-line-height);
|
||||
color: #c6c6c6;
|
||||
}
|
||||
|
||||
@media (max-width: 580px) {
|
||||
.platform-name code {
|
||||
display: none;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue