mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 04:40:45 +08:00
fix(chat): handle missing branding dir and full-width layout
Create optional _local/branding directory at startup to avoid StaticFiles FileNotFoundError, and force standalone chat root containers to occupy full width. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
38de5a305f
commit
04050747ae
2 changed files with 15 additions and 0 deletions
|
|
@ -9,6 +9,11 @@
|
|||
<link rel="stylesheet" href="/admin/assets/theme-deepseek.css" />
|
||||
<link rel="stylesheet" href="/admin/assets/theme-presets.css" />
|
||||
<style>
|
||||
html,
|
||||
body {
|
||||
width: 100%;
|
||||
min-width: 100%;
|
||||
}
|
||||
body.theme-ds-body.chat-standalone-page {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
|
|
@ -24,6 +29,8 @@
|
|||
flex-direction: column;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
min-width: 100%;
|
||||
}
|
||||
.chat-app--login {
|
||||
flex: 1;
|
||||
|
|
@ -37,6 +44,8 @@
|
|||
#app .chat-layout {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
width: 100%;
|
||||
min-width: 100%;
|
||||
}
|
||||
.chat-sess-row {
|
||||
display: flex;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue