DEV: changes identifier from card to usercard (#28575)
This commit is contained in:
parent
82e75c8700
commit
b4a8873596
|
@ -199,7 +199,7 @@ export default Mixin.create({
|
||||||
this._menuInstance = await this.menu.show(target, {
|
this._menuInstance = await this.menu.show(target, {
|
||||||
content: this.element,
|
content: this.element,
|
||||||
autoUpdate: false,
|
autoUpdate: false,
|
||||||
identifier: "card",
|
identifier: "usercard",
|
||||||
padding: {
|
padding: {
|
||||||
top: 10 + AVATAR_OVERFLOW_SIZE + headerOffset(),
|
top: 10 + AVATAR_OVERFLOW_SIZE + headerOffset(),
|
||||||
right: 10,
|
right: 10,
|
||||||
|
@ -212,7 +212,7 @@ export default Mixin.create({
|
||||||
this._menuInstance = await this.menu.show(target, {
|
this._menuInstance = await this.menu.show(target, {
|
||||||
content: this.element,
|
content: this.element,
|
||||||
strategy: "fixed",
|
strategy: "fixed",
|
||||||
identifier: "card",
|
identifier: "usercard",
|
||||||
computePosition: (content) => {
|
computePosition: (content) => {
|
||||||
content.style.left = "10px";
|
content.style.left = "10px";
|
||||||
content.style.right = "10px";
|
content.style.right = "10px";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
@use "sass:math";
|
@use "sass:math";
|
||||||
|
|
||||||
.fk-d-menu[data-identifier="card"] {
|
.fk-d-menu[data-identifier="usercard"] {
|
||||||
max-width: calc(100vw - 2em);
|
max-width: calc(100vw - 2em);
|
||||||
width: auto;
|
width: auto;
|
||||||
.fk-d-menu__inner-content {
|
.fk-d-menu__inner-content {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[data-content][data-identifier="card"] {
|
[data-content][data-identifier="usercard"] {
|
||||||
z-index: z("max");
|
z-index: z("max");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.fk-d-menu[data-identifier="card"] {
|
.fk-d-menu[data-identifier="usercard"] {
|
||||||
z-index: z("usercard");
|
z-index: z("usercard");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue