Skip to content

Commit

Permalink
Merge pull request #2056 from headlamp-k8s/small-regressions-fix
Browse files Browse the repository at this point in the history
frontend: Fix small UI regressions
  • Loading branch information
joaquimrocha authored Jun 21, 2024
2 parents 65e7f7c + 04ca8f1 commit 31234c3
Show file tree
Hide file tree
Showing 60 changed files with 109 additions and 108 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
class="MuiBox-root css-1txv3mw"
>
<dl
class="MuiGrid-root MuiGrid-container css-bddxam-MuiGrid-root"
class="MuiGrid-root MuiGrid-container css-uximdg-MuiGrid-root"
>
<dt
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-sm-4 css-trrd7p-MuiGrid-root"
Expand Down
1 change: 0 additions & 1 deletion frontend/src/components/Sidebar/SidebarItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ export default function SidebarItem(props: SidebarItemProps) {
},

...(!hasParent && {
textTransform: 'uppercase',
color: theme.palette.sidebarLink.main.color,
marginLeft: '5px',
marginRight: '5px',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
class="MuiList-root MuiList-padding css-h4y409-MuiList-root"
>
<li
class="css-1nk1uam"
class="css-1lee0ix"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand All @@ -41,7 +41,7 @@
</a>
</li>
<li
class="css-1nk1uam"
class="css-1lee0ix"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand All @@ -60,7 +60,7 @@
</a>
</li>
<li
class="css-19v9yx3"
class="css-w7fu23"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button Mui-selected css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
class="MuiList-root MuiList-padding css-h4y409-MuiList-root"
>
<li
class="css-1wel91t"
class="css-1icvoo8"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand All @@ -48,7 +48,7 @@
</a>
</li>
<li
class="css-1wel91t"
class="css-1icvoo8"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand All @@ -74,7 +74,7 @@
</a>
</li>
<li
class="css-164h5tf"
class="css-1jcp995"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button Mui-selected css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
class="MuiList-root MuiList-padding css-h4y409-MuiList-root"
>
<li
class="css-1nk1uam"
class="css-1lee0ix"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-divider MuiListItem-button css-1ym0qsb-MuiButtonBase-root-MuiListItem-root"
Expand All @@ -41,7 +41,7 @@
</a>
</li>
<li
class="css-19v9yx3"
class="css-w7fu23"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button Mui-selected css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down Expand Up @@ -150,7 +150,7 @@
</div>
</li>
<li
class="css-1nk1uam"
class="css-1lee0ix"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down Expand Up @@ -351,7 +351,7 @@
</div>
</li>
<li
class="css-1nk1uam"
class="css-1lee0ix"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down Expand Up @@ -460,7 +460,7 @@
</div>
</li>
<li
class="css-1nk1uam"
class="css-1lee0ix"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down Expand Up @@ -615,7 +615,7 @@
</div>
</li>
<li
class="css-1nk1uam"
class="css-1lee0ix"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down Expand Up @@ -724,7 +724,7 @@
</div>
</li>
<li
class="css-1nk1uam"
class="css-1lee0ix"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
class="MuiList-root MuiList-padding css-h4y409-MuiList-root"
>
<li
class="css-1wel91t"
class="css-1icvoo8"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-divider MuiListItem-button css-1ym0qsb-MuiButtonBase-root-MuiListItem-root"
Expand All @@ -48,7 +48,7 @@
</a>
</li>
<li
class="css-164h5tf"
class="css-1jcp995"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button Mui-selected css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down Expand Up @@ -164,7 +164,7 @@
</div>
</li>
<li
class="css-1wel91t"
class="css-1icvoo8"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down Expand Up @@ -372,7 +372,7 @@
</div>
</li>
<li
class="css-1wel91t"
class="css-1icvoo8"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down Expand Up @@ -488,7 +488,7 @@
</div>
</li>
<li
class="css-1wel91t"
class="css-1icvoo8"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down Expand Up @@ -650,7 +650,7 @@
</div>
</li>
<li
class="css-1wel91t"
class="css-1icvoo8"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down Expand Up @@ -766,7 +766,7 @@
</div>
</li>
<li
class="css-1wel91t"
class="css-1icvoo8"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
class="MuiList-root MuiList-padding css-h4y409-MuiList-root"
>
<li
class="css-1wel91t"
class="css-1icvoo8"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-divider MuiListItem-button css-1ym0qsb-MuiButtonBase-root-MuiListItem-root"
Expand All @@ -48,7 +48,7 @@
</a>
</li>
<li
class="css-1wel91t"
class="css-1icvoo8"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down Expand Up @@ -164,7 +164,7 @@
</div>
</li>
<li
class="css-164h5tf"
class="css-1jcp995"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button Mui-selected css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down Expand Up @@ -372,7 +372,7 @@
</div>
</li>
<li
class="css-1wel91t"
class="css-1icvoo8"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down Expand Up @@ -488,7 +488,7 @@
</div>
</li>
<li
class="css-1wel91t"
class="css-1icvoo8"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down Expand Up @@ -650,7 +650,7 @@
</div>
</li>
<li
class="css-1wel91t"
class="css-1icvoo8"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down Expand Up @@ -766,7 +766,7 @@
</div>
</li>
<li
class="css-1wel91t"
class="css-1icvoo8"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class="MuiList-root MuiList-padding css-h4y409-MuiList-root"
>
<li
class="css-164h5tf"
class="css-1jcp995"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button Mui-selected css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class="MuiList-root MuiList-padding css-h4y409-MuiList-root"
>
<li
class="css-1wel91t"
class="css-1icvoo8"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class="MuiList-root MuiList-padding css-h4y409-MuiList-root"
>
<li
class="css-164h5tf"
class="css-1jcp995"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button Mui-selected css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class="MuiList-root MuiList-padding css-h4y409-MuiList-root"
>
<li
class="css-1wel91t"
class="css-1icvoo8"
>
<a
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-padding MuiListItem-button css-sayhe9-MuiButtonBase-root-MuiListItem-root"
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/components/common/LogViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export function LogViewer(props: LogViewerProps) {
return (
<Dialog title={title} withFullScreen onClose={onClose} {...other}>
<DialogContent
sx={{
sx={theme => ({
height: '80%',
minHeight: '80%',
display: 'flex',
Expand All @@ -148,10 +148,10 @@ export function LogViewer(props: LogViewerProps) {
width: '100%',
height: '100%',
'& .terminal.xterm': {
padding: 10,
padding: theme.spacing(1),
},
},
}}
})}
>
<Grid container justifyContent="space-between" alignItems="center" wrap="nowrap">
<Grid item container spacing={1}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,10 @@ export default function NameValueTable(props: NameValueTableProps) {
container
component="dl" // mount a Definition List
sx={theme => ({
border: '1px solid #e7e7e7',
border: '1px solid',
borderColor: theme.palette.tables.head.borderColor,
borderRadius: theme.shape.borderRadius + 'px',
overflow: 'hidden',
})}
>
{visibleRows.flatMap(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<DocumentFragment>
<dl
class="MuiGrid-root MuiGrid-container css-bddxam-MuiGrid-root"
class="MuiGrid-root MuiGrid-container css-uximdg-MuiGrid-root"
/>
</DocumentFragment>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<DocumentFragment>
<dl
class="MuiGrid-root MuiGrid-container css-bddxam-MuiGrid-root"
class="MuiGrid-root MuiGrid-container css-uximdg-MuiGrid-root"
>
<dt
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-sm-4 css-trrd7p-MuiGrid-root"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<DocumentFragment>
<dl
class="MuiGrid-root MuiGrid-container css-bddxam-MuiGrid-root"
class="MuiGrid-root MuiGrid-container css-uximdg-MuiGrid-root"
>
<dt
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-sm-4 css-trrd7p-MuiGrid-root"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
class="MuiBox-root css-0"
>
<dl
class="MuiGrid-root MuiGrid-container css-bddxam-MuiGrid-root"
class="MuiGrid-root MuiGrid-container css-uximdg-MuiGrid-root"
>
<dt
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-sm-4 css-trrd7p-MuiGrid-root"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
class="MuiBox-root css-0"
>
<dl
class="MuiGrid-root MuiGrid-container css-bddxam-MuiGrid-root"
class="MuiGrid-root MuiGrid-container css-uximdg-MuiGrid-root"
>
<dt
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-sm-4 css-trrd7p-MuiGrid-root"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class="MuiBox-root css-0"
>
<dl
class="MuiGrid-root MuiGrid-container css-bddxam-MuiGrid-root"
class="MuiGrid-root MuiGrid-container css-uximdg-MuiGrid-root"
>
<dt
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-sm-4 css-trrd7p-MuiGrid-root"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class="MuiBox-root css-0"
>
<dl
class="MuiGrid-root MuiGrid-container css-bddxam-MuiGrid-root"
class="MuiGrid-root MuiGrid-container css-uximdg-MuiGrid-root"
>
<dt
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-sm-4 css-trrd7p-MuiGrid-root"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class="MuiBox-root css-0"
>
<dl
class="MuiGrid-root MuiGrid-container css-bddxam-MuiGrid-root"
class="MuiGrid-root MuiGrid-container css-uximdg-MuiGrid-root"
>
<dt
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-sm-4 css-trrd7p-MuiGrid-root"
Expand Down
Loading

0 comments on commit 31234c3

Please sign in to comment.