Skip to content

Commit

Permalink
Merge pull request #325 from StampyAI/theme
Browse files Browse the repository at this point in the history
remove max-width and padding for embed, giving control to parent page
  • Loading branch information
Aprillion authored Sep 28, 2023
2 parents 85cc745 + 1d10957 commit a40a89f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/root.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ html {

html.embed {
background: transparent;
padding: var(--paddingSides) 0;
padding: 2px; /* search box outline */
overflow: hidden; /* change height of iframe to avoid nested scroll, see embed-example.html */
}

Expand All @@ -84,6 +84,11 @@ body {
line-height: 1.5;
}

html.embed body {
max-width: unset;
padding: 0;
}

body > div:last-of-type {
min-height: 1px;
}
Expand Down

0 comments on commit a40a89f

Please sign in to comment.