fix(ui): Do not check for vertical-align (#7344)
		
	- This makes the `repo-settings` e2e testing happy. - There's no point into checking `vertical-align`; it has no effect when `position: absolute` is set, which is is currently set unconditionally for checkboxes and radios on forms. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7344 Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Co-authored-by: Gusted <postmaster@gusted.xyz> Co-committed-by: Gusted <postmaster@gusted.xyz>
This commit is contained in:
		
					parent
					
						
							
								6d7b4c8000
							
						
					
				
			
			
				commit
				
					
						e84d3a0f53
					
				
			
		
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -18,7 +18,6 @@ export async function validate_form({page}: {page: Page}, scope: 'form' | 'field
 | 
			
		|||
  for (const b of await boxes.all()) {
 | 
			
		||||
    await expect(b).toHaveCSS('margin-left', '0px');
 | 
			
		||||
    await expect(b).toHaveCSS('margin-top', '0px');
 | 
			
		||||
    await expect(b).toHaveCSS('vertical-align', 'baseline');
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  // assert no (trailing) colon is used in labels
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue