mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(post-form): restore native board selector appearance
Exclude the board dropdown from post-form field chrome so it keeps the browser default select styling, matching flag selector behavior.
This commit is contained in:
@@ -565,6 +565,7 @@ describe('PostForm', () => {
|
||||
expect(linkInput?.getAttribute('placeholder')).toBe('https://website.com/image.jpg');
|
||||
expect(textarea).toBeTruthy();
|
||||
expect(select).toBeTruthy();
|
||||
expect(select?.className).toContain('boardSelector');
|
||||
|
||||
await dispatchInput(linkInput as HTMLInputElement, 'not-a-url');
|
||||
await clickByText(table as HTMLTableElement, 'post');
|
||||
|
||||
Reference in New Issue
Block a user