mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
tweaked icon size in workspace-overview
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
parent
6e0ca52bf7
commit
0cd939a82d
@ -1,5 +1,5 @@
|
|||||||
.WorkspaceClusterIcon {
|
.WorkspaceClusterIcon {
|
||||||
--size: 37px;
|
--size: 21px;
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
border-radius: $radius;
|
border-radius: $radius;
|
||||||
@ -7,4 +7,8 @@
|
|||||||
user-select: none;
|
user-select: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: var(--size);
|
||||||
|
height: var(--size);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@ -36,7 +36,7 @@ export class WorkspaceOverview extends Component<Props> {
|
|||||||
const { icon } = preferences;
|
const { icon } = preferences;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="WorkspaceClusterIcon flex inline" >
|
<div className="WorkspaceClusterIcon" >
|
||||||
{icon && <img src={icon} alt={name}/>}
|
{icon && <img src={icon} alt={name}/>}
|
||||||
{!icon && <Hashicon value={clusterId} />}
|
{!icon && <Hashicon value={clusterId} />}
|
||||||
</div>
|
</div>
|
||||||
@ -56,7 +56,7 @@ export class WorkspaceOverview extends Component<Props> {
|
|||||||
}}
|
}}
|
||||||
searchFilters={[]}
|
searchFilters={[]}
|
||||||
renderTableHeader={[
|
renderTableHeader={[
|
||||||
{ title: "Icon" },
|
{ title: "", className: "icon flex-grow" },
|
||||||
{ title: "Name", className: "name flex-grow", sortBy: sortBy.name },
|
{ title: "Name", className: "name flex-grow", sortBy: sortBy.name },
|
||||||
{ title: "Id", className: "id" },
|
{ title: "Id", className: "id" },
|
||||||
]}
|
]}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user