generated from gravity-ui/package-example
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: refactor Stories component, add props for manage story style
- Loading branch information
1 parent
70bf9f0
commit 6f68166
Showing
15 changed files
with
672 additions
and
235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
@use '../variables'; | ||
|
||
$block: '.#{variables.$ns}stories'; | ||
$borderRadius: 20px; | ||
|
||
#{$block} { | ||
--g-modal-border-radius: #{$borderRadius}; | ||
--g-modal-margin: 20px; | ||
--g-modal-border-radius: var(--g-spacing-5); | ||
--g-modal-margin: var(--g-spacing-5); | ||
|
||
& .g-modal__content-wrapper { | ||
overflow-x: initial; | ||
} | ||
|
||
&__modal-content { | ||
border-radius: $borderRadius; | ||
border-radius: var(--g-spacing-5); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.