fix(sidebar): prevent version dropdown clipping in expanded brand
This commit is contained in:
@@ -22,8 +22,11 @@ describe('AppSidebar custom SVG styles', () => {
|
||||
describe('AppSidebar header styles', () => {
|
||||
it('does not clip the version badge dropdown', () => {
|
||||
const sidebarHeaderBlockMatch = styleSource.match(/\.sidebar-header\s*\{[\s\S]*?\n \}/)
|
||||
const sidebarBrandBlockMatch = componentSource.match(/\.sidebar-brand\s*\{[\s\S]*?\n\}/)
|
||||
|
||||
expect(sidebarHeaderBlockMatch).not.toBeNull()
|
||||
expect(sidebarBrandBlockMatch).not.toBeNull()
|
||||
expect(sidebarHeaderBlockMatch?.[0]).not.toContain('@apply overflow-hidden;')
|
||||
expect(sidebarBrandBlockMatch?.[0]).not.toContain('overflow: hidden;')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user