diff options
| author | Jay V <[email protected]> | 2025-06-04 13:37:03 -0400 |
|---|---|---|
| committer | Jay V <[email protected]> | 2025-06-04 13:37:07 -0400 |
| commit | 484c90ed0093139c853792b4b3bff76092ea2ea8 (patch) | |
| tree | 204a8a2ade1d8bd689a384bd15a86062fbe24863 /packages/web/src/components/share.module.css | |
| parent | f49694a5436ba99a9c9184d9afd77ff1b7ea0f9a (diff) | |
| download | opencode-484c90ed0093139c853792b4b3bff76092ea2ea8.tar.gz opencode-484c90ed0093139c853792b4b3bff76092ea2ea8.zip | |
share collapse system prompt
Diffstat (limited to 'packages/web/src/components/share.module.css')
| -rw-r--r-- | packages/web/src/components/share.module.css | 51 |
1 files changed, 36 insertions, 15 deletions
diff --git a/packages/web/src/components/share.module.css b/packages/web/src/components/share.module.css index 8de8953a4..9cd17ddeb 100644 --- a/packages/web/src/components/share.module.css +++ b/packages/web/src/components/share.module.css @@ -19,19 +19,6 @@ &:hover { color: var(--sl-color-text); } -} - -[data-element-button-text] { - cursor: pointer; - appearance: none; - background-color: transparent; - border: none; - padding: 0; - color: var(--sl-color-text-secondary); - - &:hover { - color: var(--sl-color-text); - } &[data-element-button-more] { display: flex; @@ -59,13 +46,18 @@ flex-direction: column; gap: 0.75rem; + @media (max-width: 30rem) { + gap: 1rem; + } + [data-section="title"] { display: flex; align-items: center; justify-content: space-between; - gap: 1rem; + gap: 3rem; & > div { + flex: 0 0 auto; display: flex; flex-direction: column; gap: 0.5rem; @@ -127,6 +119,11 @@ -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; + + @media (max-width: 30rem) { + font-size: 1.25rem; + -webkit-line-clamp: 3; + } } [data-section="stats"] { @@ -163,9 +160,33 @@ } span[data-stat-model] { - color: var(sl-color-text); + color: var(--sl-color-text); + } + } + } + [data-section="system-prompt"] { + display: flex; + gap: 0.3125rem; + + [data-section="icon"] { + flex: 0 0 auto; + color: var(--sl-color-text-dimmed); + opacity: 0.85; + svg { + display: block; } } + + [data-section="content"] { + display: flex; + flex-direction: column; + gap: 0.5rem; + } + + button { + line-height: 1rem; + font-size: 0.875rem; + } } } |
