Fix Tailwind CSS styling configuration
- Add tailwind.config.ts with proper content paths and theme config - Add postcss.config.js for Tailwind and autoprefixer processing - Downgrade tailwindcss to v3.4.17 and add missing PostCSS dependencies - Update Dockerfile to clarify build process - Fix UI styling issues in Docker environment
This commit is contained in:
@@ -196,7 +196,10 @@ export class TradingViewCapture {
|
||||
|
||||
if (emailButton.asElement()) {
|
||||
console.log('Found email login button, clicking...')
|
||||
await emailButton.asElement()?.click()
|
||||
const elementHandle = emailButton.asElement() as any
|
||||
if (elementHandle) {
|
||||
await elementHandle.click()
|
||||
}
|
||||
await new Promise(res => setTimeout(res, 2000))
|
||||
await this.debugScreenshot('login_04b_after_email_button', page)
|
||||
|
||||
@@ -233,7 +236,7 @@ export class TradingViewCapture {
|
||||
const text = btn.textContent?.toLowerCase() || ''
|
||||
return text.includes('sign in') || text.includes('login') || text.includes('submit')
|
||||
})
|
||||
}).then(handle => handle.asElement())
|
||||
}).then(handle => handle.asElement()) as any
|
||||
}
|
||||
|
||||
if (!signInButton) {
|
||||
|
||||
Reference in New Issue
Block a user