Skip to content

Commit e076cbf

Browse files
authored
DT-688: Bug fix for missing tooltip style (#2766)
1 parent c23831a commit e076cbf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/SignInButton.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import {History} from 'history';
1515
import {OidcUser} from '../libs/auth/oidcBroker';
1616
import {DuosUser} from '../types/model';
1717
import {DuosUserResponse} from '../types/responseTypes';
18-
import {tooltipStyle} from '../components/Tooltips';
1918
import {ServiceStatus} from '../libs/ajax/ServiceStatus';
2019
import '../styles/tooltip.css';
2120

@@ -177,6 +176,8 @@ export const SignInButton = (props: SignInButtonProps) => {
177176
);
178177
};
179178

179+
const tooltipStyle: React.CSSProperties = {maxWidth: '30vw', textWrap: 'wrap'};
180+
180181
useEffect(() => {
181182
const init = async () => {
182183
setIsSamDown(!(await ServiceStatus.isSamHealthy()));

0 commit comments

Comments
 (0)