fix(wb): 强制移动端提示增强操作绝对定位
This commit is contained in:
1 parent
147f26de66
commit
b6eefe5cff
2 files changed
+10
-29
No files matched your search
@@ -505,15 +505,16 @@ body {
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 4;
|
||||
z-index: 10;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.prompt-editor-shell > .prompt-enhance-wrap > .prompt-enhance-actions {
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
bottom: 8px;
|
||||
position: absolute !important;
|
||||
right: 12px !important;
|
||||
bottom: 12px !important;
|
||||
pointer-events: auto;
|
||||
z-index: 11;
|
||||
}
|
||||
|
||||
.form-textarea {
|
||||
@@ -521,7 +522,7 @@ body {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
/* 确保提示词增强按钮固定在输入框内部右下角 */
|
||||
/* 确保提示词增强按钮固定在输入框内部右下角 (通用 field 兼容) */
|
||||
.field .prompt-enhance-wrap {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
@@ -534,34 +535,14 @@ body {
|
||||
min-height: 150px;
|
||||
padding-left: 12px;
|
||||
padding-right: calc(var(--pe-action-width, 104px) + 12px);
|
||||
padding-bottom: 82px;
|
||||
padding-bottom: 48px;
|
||||
}
|
||||
|
||||
.field .prompt-enhance-wrap > .inline-submit-btn,
|
||||
.field .prompt-enhance-wrap > .prompt-enhance-actions {
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
right: 10px;
|
||||
bottom: 10px;
|
||||
z-index: 3;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.field .prompt-enhance-wrap > .inline-submit-btn {
|
||||
width: var(--pe-action-width, 104px);
|
||||
min-width: var(--pe-action-width, 104px);
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.field .prompt-enhance-wrap > .prompt-enhance-actions {
|
||||
width: var(--pe-action-width, 104px);
|
||||
min-width: var(--pe-action-width, 104px);
|
||||
padding: 0;
|
||||
right: 8px;
|
||||
bottom: 8px;
|
||||
}
|
||||
|
||||
.field .prompt-enhance-wrap > .inline-submit-btn {
|
||||
right: 8px;
|
||||
bottom: 8px;
|
||||
}
|
||||
|
||||
.action-row {
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<script src="/static/common/js/theme.js?v=0.1.0"></script>
|
||||
<link href="/static/common/css/common.css?v=0.3.7" rel="stylesheet">
|
||||
<link href="/static/common/css/toast.css" rel="stylesheet">
|
||||
<link href="/static/public/css/imagine_workbench.css?v=0.2.1" rel="stylesheet">
|
||||
<link href="/static/public/css/imagine_workbench.css?v=0.2.3" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="public-page min-h-screen flex flex-col" style="background-color: var(--bg);">
|
||||
|
||||
Reference in new issue
Block a user