Skip to content

Commit

Permalink
🐛 fix: Bug Croped outpaint extention fixed #41
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Apr 22, 2023
1 parent ca05cbc commit 157bd50
Show file tree
Hide file tree
Showing 7 changed files with 61 additions and 48 deletions.
76 changes: 38 additions & 38 deletions javascript/index.js

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion src/theme/components/container.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
#content {
min-height: -webkit-fill-available;
}

.app.svelte-ac4rv4.svelte-ac4rv4 {
padding: 0 !important;
}

.gradio-container {
font-size: var(--font-size);
color: var(--color-text);
margin: 16px 0 0 !important;
margin: 0 !important;
background: transparent !important;
}

Expand Down
5 changes: 2 additions & 3 deletions src/theme/components/tab.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
}

#tabs {
> .tabitem,
> .gradio-tabitem {
> .tabitem.gradio-tabitem {
background: transparent !important;
padding: 0 !important;
padding: var(--size-4);
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/theme/extensions/aspect-ratio.less
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
display: flex !important;
flex-wrap: wrap !important;
flex-direction: row !important;
#txt2img_row_aspect_ratio,
#txt2img_row_resolutions {
[id$='_row_aspect_ratio'],
[id$='_row_resolutions'] {
max-width: unset;
width: unset;
flex: 1;
Expand Down
8 changes: 8 additions & 0 deletions src/theme/extensions/open-outpaint.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#tab_openOutpaint {
padding: 0 !important;
height: 100vh;
position: relative;
#openoutpaint-iframe {
width: -webkit-fill-available !important;
}
}
4 changes: 1 addition & 3 deletions src/theme/style.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/* Root */
@import 'utils/normalize';

/* Var */
@import 'var/antd';
@import 'var/antd-extra';
Expand Down Expand Up @@ -34,6 +31,7 @@
@import 'extensions/system-info';
@import 'extensions/dreambooth';
@import 'extensions/additional-networks';
@import 'extensions/open-outpaint';

/* Root */

Expand Down
2 changes: 1 addition & 1 deletion style.css

Large diffs are not rendered by default.

0 comments on commit 157bd50

Please sign in to comment.