mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-04 07:20:27 +00:00
tweak(ui): bump button heights and align permission prompt layout
This commit is contained in:
parent
ea96f898c0
commit
b784c923a8
5 changed files with 344 additions and 135 deletions
|
|
@ -745,6 +745,11 @@
|
|||
align-items: center;
|
||||
gap: 8px;
|
||||
justify-content: flex-end;
|
||||
|
||||
[data-component="button"] {
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -756,6 +761,22 @@
|
|||
min-height: 0;
|
||||
max-height: var(--question-prompt-max-height, 100dvh);
|
||||
|
||||
&[data-permission="true"] {
|
||||
[data-slot="question-options"] {
|
||||
code {
|
||||
font-size: 14px;
|
||||
line-height: var(--line-height-large);
|
||||
}
|
||||
}
|
||||
|
||||
[data-slot="question-footer-actions"] {
|
||||
[data-component="button"] {
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-slot="question-body"] {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue