fix: Fix view-content padding for different display modes. (#2100)

This commit is contained in:
Emt-lin 2026-01-13 10:04:33 +08:00 committed by GitHub
parent ff3636637f
commit 98caf34180
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -875,10 +875,17 @@ If your plugin does not need CSS, delete this file.
}
/* use 'important' to prevent ob default css style from being third-party theme overridden */
.workspace-leaf-content[data-type="copilot-chat-view"] .view-content {
padding-bottom: max(var(--safe-area-inset-bottom), var(--size-4-8)) !important;
}
/* open plugin in Editor mode for mobile */
body.is-mobile .workspace-tab-container .workspace-leaf-content[data-type="copilot-chat-view"] .view-content {
padding-bottom: var(--size-4-1) !important;
}
/* Collapsible sources styling */
.copilot-sources {
margin-top: var(--size-4-1);