mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
style: format Cockpit components and pure policies
This commit is contained in:
1 parent
8075c70e6e
commit
e04aefe863
18 files changed
+2227
-1407
No files matched your search
@@ -62,7 +62,10 @@ export function resolveCockpitUtilityLayout({
|
||||
gap = 7,
|
||||
minimumExpandedHeight = 120,
|
||||
}) {
|
||||
const available = Math.max(minimumExpandedHeight, Number(availableHeight) || 0);
|
||||
const available = Math.max(
|
||||
minimumExpandedHeight,
|
||||
Number(availableHeight) || 0,
|
||||
);
|
||||
const expanded = Math.max(0, Number(expandedHeight) || 0);
|
||||
const collapsed = Math.max(0, Number(collapsedHeight) || 0);
|
||||
const spacing = Math.max(0, Number(gap) || 0);
|
||||
@@ -76,4 +79,3 @@ export function resolveCockpitUtilityLayout({
|
||||
),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user