diff --git a/src/components/SignInButton.tsx b/src/components/SignInButton.tsx index 127780ecb..7ba210208 100644 --- a/src/components/SignInButton.tsx +++ b/src/components/SignInButton.tsx @@ -15,7 +15,6 @@ import {History} from 'history'; import {OidcUser} from '../libs/auth/oidcBroker'; import {DuosUser} from '../types/model'; import {DuosUserResponse} from '../types/responseTypes'; -import {tooltipStyle} from '../components/Tooltips'; import {ServiceStatus} from '../libs/ajax/ServiceStatus'; import '../styles/tooltip.css'; @@ -177,6 +176,8 @@ export const SignInButton = (props: SignInButtonProps) => { ); }; + const tooltipStyle: React.CSSProperties = {maxWidth: '30vw', textWrap: 'wrap'}; + useEffect(() => { const init = async () => { setIsSamDown(!(await ServiceStatus.isSamHealthy()));