File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed
Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ function MobilePreview(props: Props) {
5959 { ( popupTitle || popupDescription || popupIcons ) && (
6060 < div className = { _cs ( styles . popup , popupClassName ) } >
6161 < div className = { styles . details } >
62- < div >
62+ < div className = { styles . popupTitle } >
6363 { popupTitle }
6464 </ div >
6565 < div >
Original file line number Diff line number Diff line change 7171
7272 .details {
7373 flex-grow : 1 ;
74+
75+ .popup-title {
76+ font-weight : var (--font-weight-bold );
77+ }
7478 }
7579
7680 .icons {
Original file line number Diff line number Diff line change @@ -588,11 +588,11 @@ function NewTutorial(props: Props) {
588588 { informationPages ?. map ( ( page , i ) => (
589589 < ExpandableContainer
590590 key = { page . pageNumber }
591- header = { page . title || `Intro ${ page . pageNumber } ` }
591+ header = { page . title || `Intro ${ i + 1 } ` }
592592 openByDefault = { i === informationPages . length - 1 }
593593 actions = { (
594594 < Button
595- name = { i }
595+ name = { i + 1 }
596596 onClick = { onInformationPageRemove }
597597 variant = "action"
598598 title = "Delete page"
Original file line number Diff line number Diff line change 88 nullValue ,
99 ArraySchema ,
1010 addCondition ,
11- greaterThanCondition ,
1211} from '@togglecorp/toggle-form' ;
1312
1413import {
@@ -628,7 +627,7 @@ export const tutorialFormSchema: TutorialFormSchema = {
628627 required : true ,
629628 validations : [
630629 integerCondition ,
631- greaterThanCondition ( 0 ) ,
630+ greaterThanOrEqualToCondition ( 0 ) ,
632631 ] ,
633632 } ,
634633 description : {
@@ -676,7 +675,7 @@ export const tutorialFormSchema: TutorialFormSchema = {
676675 required : true ,
677676 validations : [
678677 integerCondition ,
679- greaterThanCondition ( 0 ) ,
678+ greaterThanOrEqualToCondition ( 0 ) ,
680679 ] ,
681680 } ,
682681 } ) ,
You can’t perform that action at this time.
0 commit comments