DEV: changes identifier from card to usercard (#28575)

This commit is contained in:
Joffrey JAFFEUX 2024-08-27 14:08:49 +02:00 committed by GitHub
parent 82e75c8700
commit b4a8873596
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View File

@ -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";

View File

@ -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 {

View File

@ -1,4 +1,4 @@
[data-content][data-identifier="card"] {
[data-content][data-identifier="usercard"] {
z-index: z("max");
}

View File

@ -1,4 +1,4 @@
.fk-d-menu[data-identifier="card"] {
.fk-d-menu[data-identifier="usercard"] {
z-index: z("usercard");
}