const fs = require('fs'); const path = require('path'); const dir = './src/pages'; const files = fs.readdirSync(dir).filter(f => f.endsWith('.tsx')); for (const file of files) { const filePath = path.join(dir, file); let content = fs.readFileSync(filePath, 'utf8'); // Replace the style attribute for the input to include height: '64px' // It currently looks like: style={{ paddingLeft: '60px', paddingRight: '16px', fontSize: '16px' }} content = content.replace(/style=\{\{ paddingLeft: '60px', paddingRight: '16px', fontSize: '16px' \}\}/g, "style={{ height: '64px', paddingLeft: '60px', paddingRight: '16px', fontSize: '18px' }}"); fs.writeFileSync(filePath, content, 'utf8'); } console.log('Added explicit inline height 64px to search inputs.');