mirror of
https://github.com/logancyang/obsidian-copilot.git
synced 2026-07-22 07:50:24 +00:00
fix: Fix view-content padding for different display modes. (#2100)
This commit is contained in:
parent
ff3636637f
commit
98caf34180
1 changed files with 7 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue