[XenTR] How to make a sticky user cell?

XF 2 Tip [XenTR] How to make a sticky user cell?

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,714
Points
823

Reputation:

ENXF NET submitted a new resource:

[XenTR] How to make a sticky user cell? - It allows you to make the user area in the message field constant.

Let's see how the fixed user space used on our website is made.

Add the following code to the extra.less template of the theme you used. This code is based on the standard theme. You may need to format it according to your own theme.
Code:
@media (min-width: {{ property('responsiveMedium') + 1 }}px )
{
    .message-cell.message-cell--user section .message-userArrow,
    .message-inner .message-userArrow {
        right: -(@xf-paddingLarge + 1);
    }
    .message-user {
        position...

Read more about this resource...
 

xenforouser

Member
Registered
Joined
Mar 22, 2020
Messages
17
Points
13

Reputation:

In the overview. You need to add this code to your extra.less unter appearance > templates
 

fmsc88

Collaborate
Collaborate
Registered
Joined
May 22, 2019
Messages
106
Points
53

Reputation:

the code
Code:
@media (min-width: {{ property('responsiveMedium') + 1 }}px )
{
    .message-cell.message-cell--user section .message-userArrow,
    .message-inner .message-userArrow {
        right: -(@xf-paddingLarge + 1);
    }
    .message-user {
        position...

is not full
 
Top