add tooltip to new logos (#12837)

relates to #12053

quick fix to add tooltip to new inputs for logo
This commit is contained in:
Gabriel Hernandez 2023-07-19 18:13:19 +01:00 committed by GitHub
parent f429c6db49
commit dbf43363a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -124,6 +124,8 @@ const Info = ({
onBlur={validateForm}
error={formErrors.org_logo_url}
inputWrapperClass={`${cardClass}__logo-field`}
tooltip="Logo is displayed in the top bar and other areas of Fleet that
have dark backgrounds."
/>
<div
className={`${cardClass}__icon-preview ${cardClass}__dark-background`}
@ -144,6 +146,8 @@ const Info = ({
onBlur={validateForm}
error={formErrors.org_logo_url_light_background}
inputWrapperClass={`${cardClass}__logo-field`}
tooltip="Logo is displayed in Fleet on top of light backgrounds.
"
/>
<div
className={`${cardClass}__icon-preview ${cardClass}__light-background`}

View file

@ -10,10 +10,10 @@
&__icon-preview {
border-radius: $border-radius;
height: 82px;
max-width: 150px;
max-height: 82px;
min-width: 82px;
border: 1px solid $ui-fleet-black-10;
display: flex;
display: inline-flex;
align-items: center;
justify-content: center;
}