fix logo placement with custom logoWidth value (#4946)
This commit is contained in:
@@ -53,7 +53,8 @@ function renderLogo({
|
||||
renderedLogo: '',
|
||||
}
|
||||
}
|
||||
const y = (badgeHeight - logoWidth) / 2
|
||||
const logoHeight = 14
|
||||
const y = (badgeHeight - logoHeight) / 2
|
||||
const x = horizPadding
|
||||
return {
|
||||
hasLogo: true,
|
||||
|
||||
Reference in New Issue
Block a user