@capytale/meta-player 0.5.14 → 0.5.16

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": "@capytale/meta-player",
3
- "version": "0.5.14",
3
+ "version": "0.5.16",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -20,7 +20,8 @@ const CloneDialog: FC<{ visible: boolean; onHide: () => any }> = ({
20
20
  const url = `/web/c-act/n/${newNid}/play/create`;
21
21
  // redirect to the new activity in a new tab
22
22
  window.open(url, "_blank");
23
- }, [nid, newTitle]);
23
+ onHide();
24
+ }, [nid, newTitle, onHide]);
24
25
 
25
26
  useEffect(() => {
26
27
  setNewTitle(activityTitle);
package/src/index.css CHANGED
@@ -55,6 +55,7 @@ body,
55
55
 
56
56
  .editor-shell {
57
57
  text-align: start;
58
+ width: 100%;
58
59
  }
59
60
 
60
61
  .p-splitter-panel:has(> .meta-player-content-cover) {