Skip to content

Commit

Permalink
fix(ui): adjust some wrong styles
Browse files Browse the repository at this point in the history
  • Loading branch information
itsjavi committed Aug 25, 2023
1 parent bf2911e commit b09c0ac
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ build
.vercel/
.local/
.history/

.vscode/pinned-files.json
5 changes: 3 additions & 2 deletions packages/storylite/src/styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@
text-decoration: underline;
}

:where(.storylite-iframe),
:where(.storylite-iframe:not(.storylite-iframe--default-styles)) {
background: #fff;
background: transparent;
}

.storylite-iframe-element {
Expand All @@ -79,7 +80,7 @@
margin: 0 auto;
width: 100%;
height: 100%;
background: none;
background: transparent;
transition: width 0.3s ease-in-out;
overflow: auto;
}
1 change: 0 additions & 1 deletion packages/storylite/src/styles/components/GridAddon.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[data-sl-grid='true'] .storylite-iframe-element {
background-color: transparent !important;
background-size:
8rem 8rem,
8rem 8rem,
Expand Down
7 changes: 2 additions & 5 deletions packages/storylite/src/styles/components/Story.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@

.storylite-story .storylite-story-canvas > .storylite-story-section {
position: relative;
display: flex;
flex-direction: column;
align-items: flex-start;
padding-bottom: 1rem;
margin-bottom: 3rem;
/* padding-bottom: 1rem;
margin-bottom: 3rem; */
}

0 comments on commit b09c0ac

Please sign in to comment.