@vectoriox/iox-ui 5.32.0 → 5.32.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7188,6 +7188,10 @@ function drawer(kit, root, pages, at) {
|
|
|
7188
7188
|
reid(copy, 'drawer-cta');
|
|
7189
7189
|
copy.role = NavRole.DrawerCta;
|
|
7190
7190
|
copy.styleProps = { ...copy.styleProps, alignSelf: 'stretch' };
|
|
7191
|
+
// Board 1: the full-width drawer button centres its words — a label filling its line would sit at the start.
|
|
7192
|
+
for (const label of copy.children ?? [])
|
|
7193
|
+
if (label.type === TEXT$1)
|
|
7194
|
+
label.styleProps = { ...label.styleProps, width: 'auto' };
|
|
7191
7195
|
dr.children.push(copy);
|
|
7192
7196
|
}
|
|
7193
7197
|
return dr;
|