summaryrefslogtreecommitdiffhomepage
path: root/packages/web/src/components/share/part.module.css
diff options
context:
space:
mode:
authorJay V <[email protected]>2025-07-10 17:21:18 -0400
committerJay V <[email protected]>2025-07-10 17:21:21 -0400
commitc7f30e1065c666f8eb687db75bdc06ce4b8c4882 (patch)
tree8eb96f0f975d29fa17fb6033bc5eb2079ca56ab7 /packages/web/src/components/share/part.module.css
parent1c4fd7f28ff776953c8f3b191dc19243e6c6c8d1 (diff)
downloadopencode-c7f30e1065c666f8eb687db75bdc06ce4b8c4882.tar.gz
opencode-c7f30e1065c666f8eb687db75bdc06ce4b8c4882.zip
docs: share page fix terminal part
Diffstat (limited to 'packages/web/src/components/share/part.module.css')
-rw-r--r--packages/web/src/components/share/part.module.css62
1 files changed, 0 insertions, 62 deletions
diff --git a/packages/web/src/components/share/part.module.css b/packages/web/src/components/share/part.module.css
index a11221ea1..bf843bc0d 100644
--- a/packages/web/src/components/share/part.module.css
+++ b/packages/web/src/components/share/part.module.css
@@ -307,68 +307,6 @@
}
}
- [data-component="terminal"] {
- width: 100%;
- max-width: var(--sm-tool-width);
-
- [data-slot="body"] {
- display: flex;
- flex-direction: column;
- border: 1px solid var(--sl-color-divider);
- border-radius: 0.25rem;
- overflow: hidden;
- }
-
- [data-slot="header"] {
- position: relative;
- border-bottom: 1px solid var(--sl-color-divider);
- width: 100%;
- height: 1.625rem;
- text-align: center;
- padding: 0 3.25rem;
-
- > span {
- max-width: min(100%, 140ch);
- display: inline-block;
- white-space: nowrap;
- overflow: hidden;
- line-height: 1.625rem;
- font-size: 0.75rem;
- text-overflow: ellipsis;
- color: var(--sl-color-text-dimmed);
- }
-
- &::before {
- content: "";
- position: absolute;
- pointer-events: none;
- top: 8px;
- left: 10px;
- width: 2rem;
- height: 0.5rem;
- line-height: 0;
- background-color: var(--sl-color-hairline);
- mask-image: var(--term-icon);
- mask-repeat: no-repeat;
- }
- }
-
- [data-slot="content"] {
- display: flex;
- flex-direction: column;
- padding: 0.5rem calc(0.5rem + 3px);
-
- pre {
- --shiki-dark-bg: var(--sl-color-bg) !important;
- background-color: var(--sl-color-bg) !important;
- line-height: 1.6;
- font-size: 0.75rem;
- white-space: pre-wrap;
- word-break: break-word;
- }
- }
- }
-
[data-component="tool-args"] {
display: inline-grid;
align-items: center;