Skip to content

armgit / qm

Public Imported from GitHub
0

Multiplayer agent harness for work.

Match Open in Gmail text size (#1360)

Eve Bouffardcc19fec1f389
diff --git a/plugins/web-ui/src/shell.css b/plugins/web-ui/src/shell.css
index fab190846..4400632b4 100644
--- a/plugins/web-ui/src/shell.css
+++ b/plugins/web-ui/src/shell.css
@@ -9393,7 +9393,7 @@ h3.ambient-field-label {
display: inline-flex;
align-items: center;
gap: 4px;
- font-size: 12.5px;
+ font-size: 11px;
color: var(--muted-foreground);
text-decoration: none;
}
@@ -9402,9 +9402,6 @@ h3.ambient-field-label {
color: var(--foreground);
text-decoration: underline;
}
-.inbox-session-link {
- font-size: 11px;
-}
.inbox-draft-headers-fields {
display: flex;
flex-direction: column;
diff --git a/plugins/web-ui/test/inbox-source.test.ts b/plugins/web-ui/test/inbox-source.test.ts
index 74fefbe22..06a700bdd 100644
--- a/plugins/web-ui/test/inbox-source.test.ts
+++ b/plugins/web-ui/test/inbox-source.test.ts
@@ -264,6 +264,11 @@ test("draft header links stay together after the label", () => {
assert.doesNotMatch(css, /\.inbox-draft-head \.inbox-external-link \{[^}]*margin-left: auto;/);
});
+test("draft header links share one text size", () => {
+ assert.match(css, /\.inbox-session-link,\s*\.inbox-external-link \{[^}]*font-size: 11px;/);
+ assert.doesNotMatch(css, /\.inbox-session-link \{[^}]*font-size:/);
+});
+
test("suggested draft actions yield to typed instructions without reflow", () => {
assert.match(inbox, /inbox-chat-composer \$\{pending\.trim\(\) \? "has-text" : ""\}/);
assert.match(inbox, /if \(had !== Boolean\(box\.value\.trim\(\)\)\) drawAll\(\);/);