File tree Expand file tree Collapse file tree 4 files changed +24
-23
lines changed Expand file tree Collapse file tree 4 files changed +24
-23
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -228,6 +228,26 @@ const SETTING_SECTIONS = (
228228 localConfig : typeof CONFIG_DEFAULT ,
229229 setLocalConfig : ( config : typeof CONFIG_DEFAULT ) => void
230230) : SettingSection [ ] => [
231+ {
232+ title : (
233+ < >
234+ < BookmarkIcon className = { ICON_CLASSNAME } />
235+ Presets
236+ </ >
237+ ) ,
238+ fields : [
239+ {
240+ type : SettingInputType . CUSTOM ,
241+ key : 'custom' , // dummy key for presets
242+ component : ( ) => (
243+ < PresetsManager
244+ currentConfig = { localConfig }
245+ onLoadPreset = { setLocalConfig }
246+ />
247+ ) ,
248+ } ,
249+ ] ,
250+ } ,
231251 {
232252 title : (
233253 < >
@@ -489,26 +509,7 @@ const SETTING_SECTIONS = (
489509 } ,
490510 ] ,
491511 } ,
492- {
493- title : (
494- < >
495- < BookmarkIcon className = { ICON_CLASSNAME } />
496- Presets
497- </ >
498- ) ,
499- fields : [
500- {
501- type : SettingInputType . CUSTOM ,
502- key : 'custom' , // dummy key for presets
503- component : ( ) => (
504- < PresetsManager
505- currentConfig = { localConfig }
506- onLoadPreset = { setLocalConfig }
507- />
508- ) ,
509- } ,
510- ] ,
511- } ,
512+
512513] ;
513514
514515export default function SettingDialog ( {
Original file line number Diff line number Diff line change 4848.chat-bubble-base-300 {
4949 --tw-bg-opacity : 1 ;
5050 --tw-text-opacity : 1 ;
51- @apply bg-base-300 text-base-content ;
51+ @apply break-words bg-base-300 text-base-content ;
5252}
5353
5454/* Highlight.js */
You can’t perform that action at this time.
0 commit comments