File tree 1 file changed +9
-11
lines changed
site/src/components/Dashboard/Navbar 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import Button from "@mui/material/Button";
8
8
import MenuItem from "@mui/material/MenuItem" ;
9
9
import KeyboardArrowDownOutlined from "@mui/icons-material/KeyboardArrowDownOutlined" ;
10
10
import MenuIcon from "@mui/icons-material/Menu" ;
11
- import Typography from "@mui/material/Typography" ;
12
11
import { css , type Interpolation , type Theme , useTheme } from "@emotion/react" ;
13
12
import { type FC , type ReactNode , useRef , useState } from "react" ;
14
13
import { NavLink , useLocation , useNavigate } from "react-router-dom" ;
@@ -360,31 +359,30 @@ const ProxyMenu: FC<{ proxyContextValue: ProxyContextValue }> = ({
360
359
lineHeight : "140%" ,
361
360
} }
362
361
>
363
- < Typography
364
- component = "h4"
365
- sx = { {
362
+ < h4
363
+ css = { {
366
364
fontSize : "inherit" ,
367
365
fontWeight : 600 ,
368
366
lineHeight : "inherit" ,
369
367
margin : 0 ,
368
+ marginBottom : 4 ,
370
369
} }
371
370
>
372
371
Select a region nearest to you
373
- </ Typography >
374
- < Typography
375
- component = "p"
376
- sx = { {
372
+ </ h4 >
373
+ < p
374
+ css = { ( theme ) => ( {
377
375
fontSize : 13 ,
378
- color : ( theme ) => theme . palette . text . secondary ,
376
+ color : theme . palette . text . secondary ,
379
377
lineHeight : "inherit" ,
380
378
marginTop : 0.5 ,
381
- } }
379
+ } ) }
382
380
>
383
381
Workspace proxies improve terminal and web app connections to
384
382
workspaces. This does not apply to CLI connections. A region must be
385
383
manually selected, otherwise the default primary region will be
386
384
used.
387
- </ Typography >
385
+ </ p >
388
386
</ Box >
389
387
< Divider sx = { { borderColor : ( theme ) => theme . palette . divider } } />
390
388
{ proxyContextValue . proxies
You can’t perform that action at this time.
0 commit comments