Fixing tolerations list layout (#2002)

* Expanding tolerations div width

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adding tolerations table

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Fixing tolerations table styles

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adding <PodTolerations/> tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Add new line at the end of the file for linter

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev authored and GitHub committed 2021-01-22 10:27:54 +03:00
1 parent 2e2283bcc9
commit a92ed46f0d
9 files changed
+165 -22

No files matched your search

@@ -1,6 +1,8 @@
.DrawerItem {
--drawer-item-title-width: 30%;
display: grid;
grid-template-columns: minmax(30%, min-content) auto;
grid-template-columns: minmax(var(--drawer-item-title-width), min-content) auto;
border-bottom: 1px solid $borderFaintColor;
padding: $padding 0;
@@ -25,7 +25,7 @@ export class DrawerParamToggler extends React.Component<DrawerParamTogglerProps,
return (
<div className="DrawerParamToggler">
<div className="flex gaps align-center">
<div className="flex gaps align-center params">
<div className="param-label">{label}</div>
<div className="param-link" onClick={this.toggle}>
<span className="param-link-text">{link}</span>
@@ -69,7 +69,6 @@
padding: var(--spacing);
.Table .TableHead {
background-color: $contentColor;
border-bottom: 1px solid $borderFaintColor;
}
}