gov-layout 1.2.22 → 1.2.24

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.
package/dist/index.mjs CHANGED
@@ -1179,7 +1179,10 @@ function UserHeader({
1179
1179
  cursor: onProfile ? "pointer" : "default",
1180
1180
  padding: "4px 8px",
1181
1181
  borderRadius: "10px",
1182
- transition: "background-color 0.15s ease"
1182
+ transition: "background-color 0.15s ease",
1183
+ flex: 1,
1184
+ minWidth: 0,
1185
+ overflow: "hidden"
1183
1186
  },
1184
1187
  children: [
1185
1188
  user?.pictureUrl ? /* @__PURE__ */ jsx(
@@ -1218,7 +1221,7 @@ function UserHeader({
1218
1221
  )
1219
1222
  }
1220
1223
  ),
1221
- /* @__PURE__ */ jsxs("div", { children: [
1224
+ /* @__PURE__ */ jsxs("div", { style: { flex: 1, minWidth: 0 }, children: [
1222
1225
  /* @__PURE__ */ jsxs(
1223
1226
  "p",
1224
1227
  {
@@ -1226,7 +1229,10 @@ function UserHeader({
1226
1229
  fontSize: "15px",
1227
1230
  fontWeight: 600,
1228
1231
  color: "#ffffff",
1229
- margin: 0
1232
+ margin: 0,
1233
+ overflow: "hidden",
1234
+ textOverflow: "ellipsis",
1235
+ whiteSpace: "nowrap"
1230
1236
  },
1231
1237
  children: [
1232
1238
  "\u0E2A\u0E27\u0E31\u0E2A\u0E14\u0E35,",