Merge pull request #499 from kaalibro/dev

🐛 fix: img2img Aspect Ratio Overlay (#497)
pull/503/head
kaalibro 2023-12-23 12:55:48 +06:00 committed by GitHub
commit b42c3a01ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 100 additions and 78 deletions

File diff suppressed because one or more lines are too long

View File

@ -8,8 +8,6 @@ export default (token: Theme) => css`
.ant-app {
position: relative;
overscroll-behavior: none;
height: 100% !important;
min-height: 100% !important;
::-webkit-scrollbar {
display: none;
@ -18,6 +16,10 @@ export default (token: Theme) => css`
}
}
body {
height: 100% !important;
}
.ant-slider-track,
.ant-tabs-ink-bar,
.ant-switch-checked {

View File

@ -76,5 +76,13 @@ export default (token: Theme) => {
#tabs_extensions > .tabitem > .gap > .gradio-row {
overflow: auto;
}
gradio-app #imageARPreview {
background: ${token.colorError}4d;
backdrop-filter: brightness(1.2);
border-color: ${token.colorError};
border-style: solid;
border-width: 2px;
}
`;
};

View File

@ -2,6 +2,8 @@ import { Theme, css } from 'antd-style';
export default (token: Theme) => css`
.global-popup {
overscroll-behavior: none;
.global-popup-close {
background-color: ${token.colorBgMask} !important;
backdrop-filter: blur(4px);
@ -22,6 +24,7 @@ export default (token: Theme) => css`
.popup-metadata {
overflow: auto;
overscroll-behavior: none;
width: 75vw;
max-height: 85vh;
@ -56,6 +59,7 @@ export default (token: Theme) => css`
.popup-dialog,
.edit-user-metadata {
overscroll-behavior: none;
width: 50vw !important;
}
}