muffin-admin 3.18.1 → 3.18.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muffin-admin",
3
- "version": "3.18.1",
3
+ "version": "3.18.3",
4
4
  "description": "NPM package for https://github.com/klen/muffin-admin",
5
5
  "files": [
6
6
  "src",
@@ -18,7 +18,7 @@ export function MuffinDashboard() {
18
18
  const translate = useTranslate()
19
19
  return (
20
20
  <Stack gap={2} pt={1}>
21
- <Stack direction="row">
21
+ <Stack direction="row" flexWrap="wrap" gap={1}>
22
22
  {help && <HelpLink href={help} label={translate("muffin.how_to_use_admin")} />}
23
23
  {buildAdmin(["dashboard-actions"])}
24
24
  </Stack>
@@ -160,11 +160,11 @@ export function CommonPayload({
160
160
  title={
161
161
  help
162
162
  ? ((
163
- <Stack alignItems="flex-start">
164
- <span>{translate(title, { _: title })}</span>
165
- <HelpLink href={help} style={{ alignSelf: "flex-end" }} />
166
- </Stack>
167
- ) as any)
163
+ <Stack alignItems="flex-start">
164
+ <span>{translate(title, { _: title })}</span>
165
+ <HelpLink href={help} style={{ alignSelf: "flex-end" }} />
166
+ </Stack>
167
+ ) as any)
168
168
  : translate(title, { _: title })
169
169
  }
170
170
  actions={
@@ -203,7 +203,7 @@ function FileButton({
203
203
  if (Object.keys(filterValues).length) url += `&where=${JSON.stringify(filterValues)}`
204
204
 
205
205
  return (
206
- <Button href={url} label={label} component={Link} target="_blank">
206
+ <Button href={url} label={label} component={Link}>
207
207
  {buildIcon(icon)}
208
208
  </Button>
209
209
  )