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