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, {
|
||||
content: this.element,
|
||||
autoUpdate: false,
|
||||
identifier: "card",
|
||||
identifier: "usercard",
|
||||
padding: {
|
||||
top: 10 + AVATAR_OVERFLOW_SIZE + headerOffset(),
|
||||
right: 10,
|
||||
|
@ -212,7 +212,7 @@ export default Mixin.create({
|
|||
this._menuInstance = await this.menu.show(target, {
|
||||
content: this.element,
|
||||
strategy: "fixed",
|
||||
identifier: "card",
|
||||
identifier: "usercard",
|
||||
computePosition: (content) => {
|
||||
content.style.left = "10px";
|
||||
content.style.right = "10px";
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
@use "sass:math";
|
||||
|
||||
.fk-d-menu[data-identifier="card"] {
|
||||
.fk-d-menu[data-identifier="usercard"] {
|
||||
max-width: calc(100vw - 2em);
|
||||
width: auto;
|
||||
.fk-d-menu__inner-content {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[data-content][data-identifier="card"] {
|
||||
[data-content][data-identifier="usercard"] {
|
||||
z-index: z("max");
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.fk-d-menu[data-identifier="card"] {
|
||||
.fk-d-menu[data-identifier="usercard"] {
|
||||
z-index: z("usercard");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue