Skip to content

Commit de26fee

Browse files
committed
Added !important to Poe chatbar styles (fixes #203) ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/chatgpt-widescreen]
1 parent bc4abd5 commit de26fee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

chromium/extension/lib/styles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ window.styles = {
3737
chatgpt: `main form { max-width: ${
3838
toWiden ? wcbWidth : window.wsMinWidth -128 }px !important ; margin: auto }`,
3939
poe: toWiden && `[class*=ChatHomeMain_inputContainer], [class^=ChatPageMainFooter_footerInner] {
40-
width: ${wcbWidth}px ; margin-right: 15px }`
40+
width: ${wcbWidth}px !important ; margin-right: 15px }`
4141
}[site]
4242
}
4343
},

firefox/extension/lib/styles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ window.styles = {
3737
chatgpt: `main form { max-width: ${
3838
toWiden ? wcbWidth : window.wsMinWidth -128 }px !important ; margin: auto }`,
3939
poe: toWiden && `[class*=ChatHomeMain_inputContainer], [class^=ChatPageMainFooter_footerInner] {
40-
width: ${wcbWidth}px ; margin-right: 15px }`
40+
width: ${wcbWidth}px !important ; margin-right: 15px }`
4141
}[site]
4242
}
4343
},

0 commit comments

Comments
 (0)