Skip to content

Commit

Permalink
chore: ui tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: thediveo <[email protected]>
  • Loading branch information
thediveo committed Jul 24, 2024
1 parent d837382 commit ca8b751
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions webui/src/components/cpulist/CPUList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ import clsx from 'clsx'

import { styled, Tooltip } from '@mui/material'
import CPUIcon from 'icons/CPUAffinity'
import { rgba } from 'utils/rgba'


const CPURangeList = styled('span')(({ theme }) => ({
'&.cpulist > .MuiSvgIcon-root': {
color: theme.palette.divider,
color: rgba(theme.palette.text.primary, 0.1),
verticalAlign: 'text-top',
position: 'relative',
top: '-0.1ex',
top: '-0.15ex',
marginRight: '0.2em',
},
}))
Expand Down
5 changes: 3 additions & 2 deletions webui/src/components/schedinfo/SchedulerInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import clsx from 'clsx'
import { styled, Tooltip } from '@mui/material'
import { Process } from 'models/gw/process'
import { HistoryToggleOff } from '@mui/icons-material'
import { rgba } from 'utils/rgba'


const SchedInformation = styled('span')(({ theme }) => ({
Expand All @@ -30,10 +31,10 @@ const SchedInformation = styled('span')(({ theme }) => ({
color: theme.palette.sched.prio,
},
'& > .MuiSvgIcon-root': {
color: theme.palette.divider,
color: rgba(theme.palette.text.primary, 0.1),
verticalAlign: 'text-top',
position: 'relative',
top: '-0.1ex',
top: '-0.15ex',
marginRight: '0.2em',
},
}))
Expand Down

0 comments on commit ca8b751

Please sign in to comment.