Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

fix: keep Grok quote cards within the content column

Yu Yi8e29f6380449
diff --git a/src-tauri/src/inject/style.js b/src-tauri/src/inject/style.js
index 54a571a5..0d1d04ab 100644
--- a/src-tauri/src/inject/style.js
+++ b/src-tauri/src/inject/style.js
@@ -152,6 +152,12 @@ window.addEventListener("DOMContentLoaded", (_event) => {
z-index: 1 !important;
}
+ /* Keep Grok quote cards inside the column, including long author names. */
+ #react-root [data-testid="primaryColumn"] [aria-label="Grok"]
+ div:has(> div > div[role="link"]) {
+ max-width: 100% !important;
+ }
+
@media only screen and (min-width: 1000px) {
#react-root main[role="main"] {
align-items: center !important;