Skip to content

Commit

Permalink
DT-688: Bug fix for missing tooltip style (#2766)
Browse files Browse the repository at this point in the history
  • Loading branch information
rushtong authored Jan 14, 2025
1 parent c23831a commit e076cbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/SignInButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -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()));
Expand Down

0 comments on commit e076cbf

Please sign in to comment.