GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(app): user message fade · bpd1069/opencode@65ac318

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/ui/src/components
    • session-turn.css
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/ui/src/components/session-turn.css‎

Copy file name to clipboardExpand all lines: packages/ui/src/components/session-turn.css
+18-12Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,19 @@
113113
padding-bottom: 28px;
114114
}
115115

116+
[data-component="user-message"][data-can-expand="true"]:not([data-expanded="true"]) [data-slot="user-message-text"]::after {
117+
content: "";
118+
position: absolute;
119+
left: 0;
120+
right: 0;
121+
height: 8px;
122+
bottom: 0px;
123+
background:
124+
linear-gradient(to bottom, transparent, var(--surface-weak)),
125+
linear-gradient(to bottom, transparent, var(--surface-weak));
126+
pointer-events: none;
127+
}
128+
116129
[data-component="user-message"] [data-slot="user-message-text"] [data-slot="user-message-expand"] {
117130
display: none;
118131
position: absolute;
@@ -121,12 +134,8 @@
121134
padding: 0;
122135
}
123136

124-
[data-component="user-message"][data-can-expand="true"]
125-
[data-slot="user-message-text"]
126-
[data-slot="user-message-expand"],
127-
[data-component="user-message"][data-expanded="true"]
128-
[data-slot="user-message-text"]
129-
[data-slot="user-message-expand"] {
137+
[data-component="user-message"][data-can-expand="true"] [data-slot="user-message-text"] [data-slot="user-message-expand"],
138+
[data-component="user-message"][data-expanded="true"] [data-slot="user-message-text"] [data-slot="user-message-expand"] {
130139
display: inline-flex;
131140
align-items: center;
132141
justify-content: center;
@@ -143,10 +152,7 @@
143152
}
144153
}
145154

146-
[data-component="user-message"][data-expanded="true"]
147-
[data-slot="user-message-text"]
148-
[data-slot="user-message-expand"]
149-
[data-slot="icon-svg"] {
155+
[data-component="user-message"][data-expanded="true"] [data-slot="user-message-text"] [data-slot="user-message-expand"] [data-slot="icon-svg"] {
150156
transform: rotate(180deg);
151157
}
152158

@@ -247,7 +253,7 @@
247253
font-size: 15px;
248254
}
249255

250-
&[data-fade="true"] > * {
256+
&[data-fade="true"]>* {
251257
animation: fadeUp 0.4s ease-out forwards;
252258
opacity: 0;
253259

@@ -539,7 +545,7 @@
539545
padding-right: 12px;
540546
border-left: 1px solid var(--border-base);
541547

542-
> :first-child > [data-component="markdown"]:first-child {
548+
> :first-child>[data-component="markdown"]:first-child {
543549
margin-top: 0;
544550
}
545551
}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.