Skip to content

Commit 16844c8

Browse files
diningPhilosopher64prabhakk-mw
authored andcommitted
Fixes bugs related to overlapping CSS includes and removes deprecated tag.
Fixes #63
1 parent a259841 commit 16844c8

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

gui/src/components/App/index.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import React, { useState, useCallback, useEffect, useMemo, useRef } from 'react'
44
import { useSelector, useDispatch } from 'react-redux';
55
import { useInterval, useTimeoutFn } from 'react-use';
66
import './App.css';
7-
import './3p/css/bootstrap.min.css';
8-
import './3p/css/site7.min.css';
97
import Confirmation from '../Confirmation';
108
import OverlayTrigger from '../OverlayTrigger';
119
import Overlay from '../Overlay';
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/* Copyright 2025 The MathWorks, Inc. */
2+
3+
iframe {
4+
border: 0px;
5+
height: 380px;
6+
width: 100%;
7+
}

gui/src/components/LicensingGatherer/MHLM.jsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ import {
1313
fetchSetLicensing
1414
} from '../../actionCreators';
1515

16+
import './MHLM.css';
17+
1618
// Send a generated nonce to the login iframe
1719
function setLoginNonce (username) {
1820
const clientNonce = (Math.random() + '').substr(2);
@@ -150,9 +152,6 @@ function MHLM ({ mhlmLicensingInfo = null }) {
150152
id="loginframe"
151153
title="MathWorks Embedded Login"
152154
type="text/html"
153-
height="380"
154-
width="100%"
155-
frameBorder="0"
156155
src={embeddedLoginUrl}
157156
onLoad={handleIFrameLoaded}
158157
>

gui/src/components/MatlabJsd/index.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ function MatlabJsd ({ url, iFrameRef, shouldListenForEvents, handleUserInteracti
3939
ref={iFrameRef}
4040
title="MATLAB JSD"
4141
src={url}
42-
frameBorder="0"
4342
allowFullScreen />
4443
</div>
4544
);

0 commit comments

Comments
 (0)