@formicoidea/labre-framework-edgy 0.25.0 → 0.26.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.
@@ -25,9 +25,9 @@ export class EdgelessEdgyMenu extends EdgelessToolbarToolMixin(LitElement) {
25
25
  }
26
26
  static { this.styles = css `
27
27
  :host {
28
- position: absolute;
29
28
  display: flex;
30
29
  z-index: -1;
30
+ justify-content: center;
31
31
  }
32
32
  .menu-content {
33
33
  display: flex;
@@ -21,9 +21,6 @@ export class EdgelessEdgySeniorButton extends EdgelessToolbarToolMixin(SignalWat
21
21
  width: 100%;
22
22
  height: 100%;
23
23
  }
24
- :host {
25
- position: relative;
26
- }
27
24
  .edgy-root {
28
25
  width: 100%;
29
26
  height: 64px;
@@ -67,18 +64,6 @@ export class EdgelessEdgySeniorButton extends EdgelessToolbarToolMixin(SignalWat
67
64
  this.setEdgelessTool(DefaultTool);
68
65
  const menu = this.createPopper('edgeless-edgy-menu', this);
69
66
  menu.element.edgeless = this.edgeless;
70
- const el = menu.element;
71
- const wrap = el.parentElement;
72
- if (wrap) {
73
- wrap.style.overflow = 'visible';
74
- wrap.style.justifyContent = 'flex-end';
75
- }
76
- Object.assign(el.style, {
77
- position: 'static',
78
- width: 'max-content',
79
- maxWidth: 'calc(100vw - 16px)',
80
- marginLeft: '0',
81
- });
82
67
  }
83
68
  render() {
84
69
  return html `<edgeless-toolbar-button
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@formicoidea/labre-framework-edgy",
3
3
  "description": "Labre edgy framework for @formicoidea/labre-core.",
4
- "version": "0.25.0",
4
+ "version": "0.26.0",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "author": "lajola",
@@ -27,7 +27,7 @@
27
27
  "dist"
28
28
  ],
29
29
  "dependencies": {
30
- "@formicoidea/labre-core": "0.25.0",
30
+ "@formicoidea/labre-core": "0.26.0",
31
31
  "lit": "^3.2.0"
32
32
  }
33
33
  }