mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix catalog badges
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
794e8ed869
commit
04c52c6cc1
@ -43,6 +43,7 @@
|
|||||||
|
|
||||||
.content:hover {
|
.content:hover {
|
||||||
background-color: var(--sidebarItemHoverBackground);
|
background-color: var(--sidebarItemHoverBackground);
|
||||||
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.group {
|
.group {
|
||||||
@ -55,7 +56,7 @@
|
|||||||
|
|
||||||
.selected > *:first-child {
|
.selected > *:first-child {
|
||||||
background-color: var(--blue);
|
background-color: var(--blue);
|
||||||
color: var(--textColorAccent);
|
color: white;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -206,7 +206,7 @@ export class Catalog extends React.Component<Props> {
|
|||||||
this.renderIcon(item),
|
this.renderIcon(item),
|
||||||
item.name,
|
item.name,
|
||||||
item.source,
|
item.source,
|
||||||
item.labels.map((label) => <Badge key={label} label={label} title={label} />),
|
item.labels.map((label) => <Badge className={css.badge} key={label} label={label} title={label} />),
|
||||||
{ title: item.phase, className: cssNames(css[item.phase]) }
|
{ title: item.phase, className: cssNames(css[item.phase]) }
|
||||||
]}
|
]}
|
||||||
onDetails={(item: CatalogEntityItem) => this.onDetails(item) }
|
onDetails={(item: CatalogEntityItem) => this.onDetails(item) }
|
||||||
@ -245,7 +245,7 @@ export class Catalog extends React.Component<Props> {
|
|||||||
item.name,
|
item.name,
|
||||||
item.kind,
|
item.kind,
|
||||||
item.source,
|
item.source,
|
||||||
item.labels.map((label) => <Badge key={label} label={label} title={label} />),
|
item.labels.map((label) => <Badge className={css.badge} key={label} label={label} title={label} />),
|
||||||
{ title: item.phase, className: cssNames(css[item.phase]) }
|
{ title: item.phase, className: cssNames(css[item.phase]) }
|
||||||
]}
|
]}
|
||||||
detailsItem={this.selectedItem}
|
detailsItem={this.selectedItem}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user