XF 2.2 changes in cell-user message

Nicolas FR

Well-known member
Hello,

i made some changes in cell-user, here it is

Capture d’écran 2020-10-31 223043.webp

but these changes affects the pop-up user too

Capture d’écran 2020-10-31 223146.webp

How to prevent that ?

Thanks ! :)
 
Solution
Hello,

This code is working for me, in your EXTRA.less template :
Code:
/* CSS for Message Macros */
[data-template="thread_view"] {
    .pairs--justified {
        padding: 6px;
        background: white;
        margin-top: 4px;
        border-radius: 3px;
        border: 1px solid @xf-borderColor;
    }
}

Regards, SyTry
Hello,
yes via CSS, this is my code, i add a template condition but when you open the user's pop-up in thread-view page the pop-up is affect (not in other pages)....
Less:
[data-template="thread_view"]
.pairs {
    padding: 6px;
    background: white;
    margin-top: 4px;
    border-radius: 3px;
    border: 1px solid @xf-borderColor;
}
 
Hello,

This code is working for me, in your EXTRA.less template :
Code:
/* CSS for Message Macros */
[data-template="thread_view"] {
    .pairs--justified {
        padding: 6px;
        background: white;
        margin-top: 4px;
        border-radius: 3px;
        border: 1px solid @xf-borderColor;
    }
}

Regards, SyTry
 
Solution
Top Bottom