fix: Gradio table display with Firefox
This commit is contained in:
parent
664df8ec10
commit
8b454db888
|
@ -83,6 +83,7 @@ button.selected {
|
||||||
|
|
||||||
#chat-area {
|
#chat-area {
|
||||||
height: var(--main-area-height) !important;
|
height: var(--main-area-height) !important;
|
||||||
|
column-gap: 2px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#chat-info-panel {
|
#chat-info-panel {
|
||||||
|
@ -96,12 +97,32 @@ button.selected {
|
||||||
overflow-y: scroll !important;
|
overflow-y: scroll !important;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
min-width: min(305px, 100%) !important;
|
min-width: min(305px, 100%) !important;
|
||||||
|
column-gap: 2px !important;
|
||||||
|
scrollbar-width: none;
|
||||||
|
/* Firefox */
|
||||||
|
-ms-overflow-style: none;
|
||||||
|
/* Internet Explorer 10+ */
|
||||||
|
}
|
||||||
|
|
||||||
|
#conv-settings-panel::-webkit-scrollbar {
|
||||||
|
/* WebKit */
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
td {
|
||||||
|
/* Fix for Firefox Gradio table overflow display */
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.setting-answer-mode-description {
|
.setting-answer-mode-description {
|
||||||
margin: 5px 5px 2px !important;
|
margin: 5px 5px 2px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.message-buttons-right {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
mark {
|
mark {
|
||||||
background-color: #10b981;
|
background-color: #10b981;
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,7 @@ from .control import ConversationControl
|
||||||
from .report import ReportIssue
|
from .report import ReportIssue
|
||||||
|
|
||||||
DEFAULT_SETTING = "(default)"
|
DEFAULT_SETTING = "(default)"
|
||||||
INFO_PANEL_SCALES = {True: 8, False: 5}
|
INFO_PANEL_SCALES = {True: 8, False: 4}
|
||||||
|
|
||||||
|
|
||||||
pdfview_js = """
|
pdfview_js = """
|
||||||
|
|
Loading…
Reference in New Issue
Block a user