xladmin 0.6.0 → 0.9.0
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/README.md +1 -0
- package/dist/index.js +5 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -71,6 +71,7 @@ For framework routing, use one of the adapter packages instead of the default br
|
|
|
71
71
|
## Current User And Logout
|
|
72
72
|
|
|
73
73
|
`Shell` shows a compact current-user panel pinned to the bottom of the sidebar when a user is available.
|
|
74
|
+
Long login values wrap inside the panel instead of overflowing the sidebar.
|
|
74
75
|
By default it calls:
|
|
75
76
|
|
|
76
77
|
- `client.getCurrentUser()` -> `GET /xladmin/me/`
|
package/dist/index.js
CHANGED
|
@@ -5434,11 +5434,12 @@ function SidebarCurrentUser({ currentUser, isLoggingOut, onLogout }) {
|
|
|
5434
5434
|
sx: {
|
|
5435
5435
|
flex: 1,
|
|
5436
5436
|
minWidth: 0,
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5437
|
+
overflowWrap: "anywhere",
|
|
5438
|
+
whiteSpace: "normal",
|
|
5439
|
+
wordBreak: "break-word",
|
|
5440
5440
|
fontSize: 13,
|
|
5441
|
-
fontWeight: 650
|
|
5441
|
+
fontWeight: 650,
|
|
5442
|
+
lineHeight: 1.25
|
|
5442
5443
|
},
|
|
5443
5444
|
children: currentUser.login
|
|
5444
5445
|
}
|