Merge pull request #503 from kaalibro/dev

Undo 04895e9 to fix sticky header
pull/504/head
kaalibro 2023-12-26 01:10:30 +06:00 committed by GitHub
commit 44a543bdd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 68 additions and 98 deletions

File diff suppressed because one or more lines are too long

View File

@ -16,10 +16,6 @@ export default (token: Theme) => css`
} }
} }
body {
height: 100% !important;
}
.ant-slider-track, .ant-slider-track,
.ant-tabs-ink-bar, .ant-tabs-ink-bar,
.ant-switch-checked { .ant-switch-checked {

View File

@ -3,10 +3,6 @@ import { readableColor } from 'polished';
export default (token: Theme) => { export default (token: Theme) => {
return css` return css`
body {
height: 100vh !important;
}
.gradio-group, .gradio-group,
.gradio-row { .gradio-row {
gap: 12px !important; gap: 12px !important;

View File

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