Skip to content

Commit

Permalink
Made Settings modal rows taller, extended bottom gap
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui committed Jun 27, 2024
1 parent fbbca2f commit 5487017
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bravegpt/greasemonkey/bravegpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
// @description:zu Yengeza izimpendulo ze-AI ku-Brave Search (inikwa amandla yi-GPT-4o!)
// @author KudoAI
// @namespace https://kudoai.com
// @version 2024.6.27.9
// @version 2024.6.27.10
// @license MIT
// @icon https://media.bravegpt.com/images/icons/bravegpt/icon48.png?0a9e287
// @icon64 https://media.bravegpt.com/images/icons/bravegpt/icon64.png?0a9e287
Expand Down Expand Up @@ -1173,9 +1173,9 @@ setTimeout(async () => {
+ `#bravegpt-settings-close-btn path {${ scheme == 'dark' ? 'stroke: white ; fill: white' : 'stroke: #9f9f9f ; fill: #9f9f9f' }}`
+ '#bravegpt-settings-close-btn svg { margin: 6.5px }' // center SVG for hover underlay
+ `#bravegpt-settings-close-btn:hover { background-color: #f2f2f2${ scheme == 'dark' ? '00' : '' }}`
+ '#bravegpt-settings ul { list-style: none ; margin: 0 0 4px 0 }' // hide bullets, close bottom gap + override Brave ul margins
+ '#bravegpt-settings ul { list-style: none ; margin: 0 0 9px 0 }' // hide bullets, close bottom gap + override Brave ul margins
+ '#bravegpt-settings li { font-size: 14.5px ; transition: transform 0.1s ease ;'
+ `padding: 4px 10px ; border-bottom: 1px dotted ${ scheme == 'dark' ? 'white' : 'black' } ;` // add settings separators
+ `padding: 7px 10px ; border-bottom: 1px dotted ${ scheme == 'dark' ? 'white' : 'black' } ;` // add settings separators
+ 'border-radius: 3px }' // make highlight strips slightly rounded
+ '#bravegpt-settings li label { padding-right: 20px }' // right-pad labels so toggles don't hug
+ '#bravegpt-settings li:last-of-type { border-bottom: none }' // remove last bottom-border
Expand Down

0 comments on commit 5487017

Please sign in to comment.