Skip to content

Commit

Permalink
chore: fix plate
Browse files Browse the repository at this point in the history
  • Loading branch information
Валерия Чуричева authored and Валерия Чуричева committed Sep 12, 2023
1 parent 396ea00 commit 063d926
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .storybook/public/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -606,12 +606,11 @@ table.docblock-argstable td {
--plate-background: url('./images/docs-background.png');
}

/* компонент Plate (div.sbdocs-plate) - служебный класс, необходим при добавлении плашки в документацию */
.sbdocs div.sbdocs-plate {
.sbdocs div[class^='plate__component'] {
margin: var(--gap-l) 0;
}

.sbdocs div.sbdocs-plate + div[data-role='wrapper'] {
.sbdocs div[class^='plate__component'] + div[data-role='wrapper'] {
margin-top: 0;
}

Expand All @@ -624,7 +623,7 @@ table.docblock-argstable td {
margin-top: var(--gap-4xl);
}

.sbdocs div[data-role='wrapper'] + div.sbdocs-plate {
.sbdocs div[data-role='wrapper'] + div[class^='plate__component'] {
margin-top: 0;
}

Expand Down

0 comments on commit 063d926

Please sign in to comment.