Fixes for existing header styles, fix for glances

Signed-off-by: Denis Papec <denis.papec@gmail.com>
This commit is contained in:
Denis Papec committed 2023-06-12 01:15:46 +01:00
1 parent 6f750dd83c
commit 1622069063
7 files changed
+34 -16

No files matched your search

+4 -2
View File
@@ -4,12 +4,14 @@ import Raw from "./raw";
import WidgetLabel from "./widget_label";
export default function Resources({ options, children, target }) {
const widgetParts = [].concat(...children);
return <ContainerLink options={options} target={target}>
<Raw>
<div className="flex flex-row self-center flex-wrap justify-between">
{ children.filter(child => child && child.type === Resource) }
{ widgetParts.filter(child => child && child.type === Resource) }
</div>
{ children.filter(child => child && child.type === WidgetLabel) }
{ widgetParts.filter(child => child && child.type === WidgetLabel) }
</Raw>
</ContainerLink>;
}