Advertisement
Guest User

Untitled

a guest
Aug 6th, 2024
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.80 KB | None | 0 0
  1. body:not(.hideChatAvatars) {
  2.     #sheld {
  3.         --mes-padding: 10px;
  4.         --sheld-offset: calc(var(--avatar-base-width) * var(--big-avatar-width-factor) + var(--mes-padding) * 2);
  5.  
  6.         width: calc(var(--sheldWidth) + var(--sheld-offset));
  7.         transform: translateX(calc(var(--sheld-offset) / -2));
  8.         /* overflow-y: scroll; */
  9.         /* overflow-x: visible; */
  10.     }
  11.  
  12.     #chat {
  13.         overflow-x: visible;
  14.         overflow-y: scroll;
  15.         padding-left: var(--sheld-offset);
  16.  
  17.         background-color: transparent;
  18.     }
  19.  
  20.     .mes {
  21.         padding: var(--mes-padding);
  22.         display: block;
  23.     }
  24.     .mes[is_user="false"] {
  25.         background-color: var(--SmartThemeChatTintColor);
  26.     }
  27.  
  28.     .mesAvatarWrapper {
  29.         display: inline;
  30.         float: left;
  31.         margin-left: calc(-1 * var(--sheld-offset));
  32.     }
  33.  
  34.     #form_sheld {
  35.         padding-left: var(--sheld-offset);
  36.     }
  37. }
  38.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement