Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

1/*---------------------------------------------------------------------------------------------
2 * Copyright (c) Microsoft Corporation. All rights reserved.
3 * Licensed under the MIT License. See License.txt in the project root for license information.
4 *--------------------------------------------------------------------------------------------*/
5
6/* Sessions-app-specific overrides for the agent sessions viewer.
7 * These styles only apply within the agent-sessions-workbench context. */
8
9.agent-sessions-workbench {
10
11 /*
12 * Show-more / show-less: collapsed to a thin line by default,
13 * animates open on hover with height + font-size + color transitions.
14 * Mirrors the prototype's `.sessions-group-stub` pattern.
15 */
16 .agent-session-show-more {
17 justify-content: center;
18 padding: 0 6px;
19 height: 1px;
20 font-size: 0;
21 color: transparent;
22 overflow: hidden;
23 position: relative;
24 transition: height 0.15s, font-size 0.15s, color 0.15s;
25
26 .agent-session-show-more-label {
27 position: relative;
28 z-index: 1;
…lines 29–78 unchanged (50 lines)

After

1/*---------------------------------------------------------------------------------------------
2 * Copyright (c) Microsoft Corporation. All rights reserved.
3 * Licensed under the MIT License. See License.txt in the project root for license information.
4 *--------------------------------------------------------------------------------------------*/
5
6/* Sessions-app-specific overrides for the agent sessions viewer.
7 * These styles only apply within the agent-sessions-workbench context. */
8
9.agent-sessions-workbench {
10
11 /*
12 * Show-more / show-less: collapsed to a thin line by default,
13 * animates open on hover with height + font-size + color transitions.
14 * The list row is only 4px tall so the gap is minimal.
15 */
16 .agent-session-show-more {
17 justify-content: center;
18 padding: 0 6px;
19 height: 4px;
20 font-size: 0;
21 color: transparent;
22 overflow: visible;
23 position: relative;
24 transition: height 0.15s, font-size 0.15s, color 0.15s;
25
26 .agent-session-show-more-label {
27 position: relative;
28 z-index: 1;
…lines 29–78 unchanged (50 lines)

Before

stylesheet
comment "/*----------------------------------------------------------"...
comment "/* Sessions-app-specific overrides for the agent sessions vi"...
rule_set
selectors
class_selector
. "."
class_name
identifier "agent-sessions-workbench"
block
{ "{"
comment "/*\n\t * Show-more / show-less: collapsed to a thin line by de"...
rule_set
selectors
class_selector
. "."
class_name
identifier "agent-session-show-more"
block
{ "{"
declaration
property_name "justify-content"
: ":"
plain_value "center"
; ";"
declaration
property_name "padding"
: ":"
integer_value "0"
integer_value
unit "px"
; ";"
declaration
property_name "height"
: ":"
integer_value
unit "px"
; ";"
declaration
property_name "font-size"
: ":"
integer_value "0"
; ";"
declaration
property_name "color"
: ":"
plain_value "transparent"
; ";"
declaration
property_name "overflow"
: ":"
plain_value "hidden"
; ";"
declaration
property_name "position"
: ":"
plain_value "relative"
; ";"
declaration
property_name "transition"
: ":"
plain_value "height"
float_value
unit "s"
, ","
plain_value "font-size"
float_value
unit "s"
, ","
plain_value "color"
float_value
unit "s"
; ";"
rule_set (+31 nodes collapsed)
comment "/* Lines on both sides of the text */"
rule_set (+61 nodes collapsed)
} "}"
comment "/* Expand on row hover — animate height, font-size, color */"
rule_set (+59 nodes collapsed)
comment "/* Brighter text on direct hover */"
rule_set (+32 nodes collapsed)
comment "/* Time labels: hidden by default, shown on card hover */"
rule_set (+26 nodes collapsed)
rule_set (+47 nodes collapsed)
comment "/* Hide separators before time when time is hidden */"
rule_set (+26 nodes collapsed)
} "}"

After

stylesheet
comment "/*----------------------------------------------------------"...
comment "/* Sessions-app-specific overrides for the agent sessions vi"...
rule_set
selectors
class_selector
. "."
class_name
identifier "agent-sessions-workbench"
block
{ "{"
comment "/*\n\t * Show-more / show-less: collapsed to a thin line by de"...
rule_set
selectors
class_selector
. "."
class_name
identifier "agent-session-show-more"
block
{ "{"
declaration
property_name "justify-content"
: ":"
plain_value "center"
; ";"
declaration
property_name "padding"
: ":"
integer_value "0"
integer_value
unit "px"
; ";"
declaration
property_name "height"
: ":"
integer_value
unit "px"
; ";"
declaration
property_name "font-size"
: ":"
integer_value "0"
; ";"
declaration
property_name "color"
: ":"
plain_value "transparent"
; ";"
declaration
property_name "overflow"
: ":"
plain_value "visible"
; ";"
declaration
property_name "position"
: ":"
plain_value "relative"
; ";"
declaration
property_name "transition"
: ":"
plain_value "height"
float_value
unit "s"
, ","
plain_value "font-size"
float_value
unit "s"
, ","
plain_value "color"
float_value
unit "s"
; ";"
rule_set (+31 nodes collapsed)
comment "/* Lines on both sides of the text */"
rule_set (+61 nodes collapsed)
} "}"
comment "/* Expand on row hover — animate height, font-size, color */"
rule_set (+59 nodes collapsed)
comment "/* Brighter text on direct hover */"
rule_set (+32 nodes collapsed)
comment "/* Time labels: hidden by default, shown on card hover */"
rule_set (+26 nodes collapsed)
rule_set (+47 nodes collapsed)
comment "/* Hide separators before time when time is hidden */"
rule_set (+26 nodes collapsed)
} "}"