Skip to content

Commit

Permalink
Added white border to dark scheme chatgpt.alert()s ↞ [auto-sync fro…
Browse files Browse the repository at this point in the history
…m `adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed Jul 2, 2024
1 parent c0ccfc2 commit 1d65435
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions chatgpt/chatgpt-widescreen/chatgpt-widescreen-mode.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
// @description:zu Engeza izinhlobo zezimodi ze-Widescreen + Fullscreen ku-ChatGPT ukuze kube nokubonakala + ukuncitsha ukusukela
// @author Adam Lui
// @namespace https://github.com/adamlui
// @version 2024.7.1
// @version 2024.7.2
// @license MIT
// @compatible chrome
// @compatible firefox
Expand Down Expand Up @@ -803,10 +803,13 @@
if (!document.getElementById('chatgpt-alert-override-style')) {
const chatgptAlertStyle = document.createElement('style')
chatgptAlertStyle.id = 'chatgpt-alert-override-style'
chatgptAlertStyle.innerText = '.chatgpt-modal button {'
+ 'font-size: 0.77rem ; text-transform: uppercase ;'
+ 'border-radius: 0 !important ; padding: 5px !important ; min-width: 102px }'
+ '.modal-buttons { margin-left: -13px !important }'
chatgptAlertStyle.innerText = (
( chatgpt.isDarkMode() ? '.chatgpt-modal > div { border: 1px solid white }' : '' )
+ '.chatgpt-modal button {'
+ 'font-size: 0.77rem ; text-transform: uppercase ;'
+ 'border-radius: 0 !important ; padding: 5px !important ; min-width: 102px }'
+ '.modal-buttons { margin-left: -13px !important }'
)
document.head.append(chatgptAlertStyle)
}

Expand Down

0 comments on commit 1d65435

Please sign in to comment.