File tree 2 files changed +14
-2
lines changed
library/Kubernetes/Common
2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ protected function assemble(): void
72
72
$ itemClass = $ this ->getItemClass ();
73
73
74
74
$ this ->addAttributes ($ this ->baseAttributes );
75
+ $ this ->addAttributes (['class ' => $ this ->viewMode ]);
75
76
foreach ($ this ->query as $ item ) {
76
77
if (! $ detailUrlAdded ) {
77
78
$ this ->addAttributes (['class ' => 'action-list ' ] + [
Original file line number Diff line number Diff line change @@ -71,6 +71,8 @@ footer {
71
71
.title {
72
72
.text-ellipsis ();
73
73
74
+ height : 1.5em ;
75
+
74
76
> .subject + .subject {
75
77
margin-left : .2em ;
76
78
}
@@ -80,9 +82,18 @@ footer {
80
82
}
81
83
}
82
84
85
+ .item-list.minimal .visual {
86
+ width : 2.2em ;
87
+ }
88
+
83
89
.visual {
84
- font-size : 1.5em ;
85
- justify-content : flex-start ;
90
+ > .state-ball {
91
+ font-size : 1.5em ;
92
+ }
93
+
94
+ // Calculate the padding so that the icon is vertically centered in the minimal view,
95
+ // but has the same top padding in all other views.
96
+ padding : ~ " calc((30px - (12px * 0.75 * 1.5)) / 2)" 0 ;
86
97
}
87
98
88
99
.config-map-list ,
You can’t perform that action at this time.
0 commit comments