File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class InputField extends Component {
4040 ? this . props . InputHandler . setState ( { inputArrayLength : e . target . value . replace ( / \D / g, '' ) } )
4141 : this . props . InputHandler . setState ( { inputArrayLength : InputHandler . getAllowedMaxInputSize ( ) } )
4242 } }
43- className = "outline-none placeholder:text-[.95em] bg-gray-200 px-2 dark:bg-gray-600 text-gray-700 dark:text-gray-100 rounded-md text-center text-[.9em] font-semibold w-[50%] sm:w-100"
43+ className = "outline-none placeholder:text-[.95em] text-[1em] bg-gray-200 px-2 dark:bg-gray-600 text-gray-700 dark:text-gray-100 rounded-md text-center font-semibold w-[50%] sm:w-100"
4444 maximum = { InputHandler . getAllowedMaxInputSize ( ) }
4545 />
4646 < button onClick = { ( ) => {
@@ -51,7 +51,7 @@ class InputField extends Component {
5151 behavior : 'smooth'
5252 } ) ;
5353 }
54- } } className = "bg-lightGreen p-[.7em] text-[.92em] ml-3 rounded-md text-white font-semibold hover:scale-[1.02] hover:bg-lightGreen transition duration-200 ease-in-out dark:bg-lightBlue2 dark:text-white hover:shadow-custom-md-blue dark:hover:shadow-custom-md-lightBlue" > Generate Array</ button >
54+ } } className = " p-[.7em] text-[.92em] ml-3 rounded-md text-white font-semibold hover:scale-[1.02] hover:bg-lightGreen transition duration-200 ease-in-out dark:bg-lightBlue2 bg-lightGreen dark:text-white hover:shadow-custom-md-blue dark:hover:shadow-custom-md-lightBlue" > Generate Array</ button >
5555 </ div >
5656 </ div >
5757
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ function ShowValue({mainCanvasInputHandler, inputArrayLength}) {
99
1010 const [ enable , setEnable ] = useState ( JSON . parse ( localStorage . getItem ( 'options' ) ) ?. showHeight || false ) ;
1111 return (
12- < div className = { `${ BAR_WIDTH > 25 ? 'block' : 'hidden' } h-[2.7em ] dark:lg:hover:bg-gray-500 lg:hover:bg-lightGreen group relative rounded-md ${ mainCanvasInputHandler . state . options . showHeight && "dark:bg-gray-200 bg-lightGreen" } ` } onClick = { ( ) => {
12+ < div className = { `${ BAR_WIDTH > 25 ? 'block' : 'hidden' } h-[2.6em ] dark:lg:hover:bg-gray-500 lg:hover:bg-lightGreen group relative rounded-md ${ mainCanvasInputHandler . state . options . showHeight && "dark:bg-gray-200 bg-lightGreen" } ` } onClick = { ( ) => {
1313 mainCanvasInputHandler . setState ( prev => ( { options : { ...prev . options , showHeight : ! mainCanvasInputHandler . state . options . showHeight } } ) ) ;
1414 setEnable ( ! enable ) ;
1515 let j = JSON . parse ( localStorage . getItem ( 'options' ) ) ;
@@ -27,4 +27,4 @@ function ShowValue({mainCanvasInputHandler, inputArrayLength}) {
2727 )
2828}
2929
30- export default ShowValue
30+ export default ShowValue ;
You can’t perform that action at this time.
0 commit comments