UI: org logo bug fix (#11018)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
- Fixed a bug where for certain org logos, the user could still click on it even outside the navbar
|
||||
@@ -72,7 +72,10 @@ class OrgLogoIcon extends Component {
|
||||
const { imageSrc } = this.state;
|
||||
const { onError } = this;
|
||||
|
||||
const classNames = classnames(baseClass, className);
|
||||
const classNames =
|
||||
imageSrc === fleetAvatar
|
||||
? classnames(baseClass, className, "default-fleet-logo")
|
||||
: classnames(baseClass, className);
|
||||
|
||||
return (
|
||||
<img
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
.org-logo-icon {
|
||||
// ensures consistant nav bar height regardless of the logo image used
|
||||
max-height: 92px;
|
||||
max-height: 46px;
|
||||
}
|
||||
|
||||
.default-fleet-logo {
|
||||
transform: scale(0.5);
|
||||
}
|
||||
|
||||
@@ -84,7 +84,6 @@
|
||||
align-items: center;
|
||||
min-width: 64px;
|
||||
max-width: 140px;
|
||||
transform: scale(0.5);
|
||||
}
|
||||
|
||||
&--active {
|
||||
|
||||
Reference in New Issue
Block a user