fix(admin): fix custom emoji imgs being rendered with odd size. Fixes #3126
This commit is contained in:
parent
83d07b0160
commit
9288837f9d
@ -2,22 +2,28 @@
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-messages .ant-table-cell.toggle-col label {
|
.chat-messages .ant-table-cell.toggle-col label {
|
||||||
font-size: 0.7rem;
|
font-size: 0.7rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-messages .ant-table-cell .message-contents {
|
.chat-messages .ant-table-cell .message-contents {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
max-height: 200px;
|
max-height: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-messages .ant-table-cell .message-contents img {
|
.chat-messages .ant-table-cell .message-contents img {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-top: -5px;
|
margin-top: -5px;
|
||||||
width: 3rem;
|
max-height: 50px;
|
||||||
|
max-width: 50px;
|
||||||
padding: 0.25rem;
|
padding: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-messages .ant-table-cell .message-contents p {
|
.chat-messages .ant-table-cell .message-contents p {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-messages .bulk-editor {
|
.chat-messages .bulk-editor {
|
||||||
margin: 0.5rem 0;
|
margin: 0.5rem 0;
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
@ -34,42 +40,52 @@
|
|||||||
color: var(--theme-color-palette-10);
|
color: var(--theme-color-palette-10);
|
||||||
margin-right: 0.5rem;
|
margin-right: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-messages .bulk-editor button {
|
.chat-messages .bulk-editor button {
|
||||||
margin: 0 0.2rem;
|
margin: 0 0.2rem;
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-table-filter-dropdown {
|
.ant-table-filter-dropdown {
|
||||||
max-width: 250px;
|
max-width: 250px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-switch {
|
.toggle-switch {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-flow: row nowrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-wrap: nowrap;
|
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
transition: opacity 0.15s;
|
transition: opacity 0.15s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-switch .outcome-icon {
|
.toggle-switch .outcome-icon {
|
||||||
margin-right: 0.5rem;
|
margin-right: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-switch.hidden {
|
.toggle-switch.hidden {
|
||||||
opacity: 0.25;
|
opacity: 0.25;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-switch.hidden:hover {
|
.toggle-switch.hidden:hover {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-switch .ant-btn .anticon {
|
.toggle-switch .ant-btn .anticon {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-switch .ant-btn:hover .anticon {
|
.toggle-switch .ant-btn:hover .anticon {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-switch .ant-btn-text:hover {
|
.toggle-switch .ant-btn-text:hover {
|
||||||
background-color: var(--theme-color-palette-10);
|
background-color: var(--theme-color-palette-10);
|
||||||
}
|
}
|
||||||
|
|
||||||
.blockuser-popover {
|
.blockuser-popover {
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-item-container {
|
.user-item-container {
|
||||||
border: none;
|
border: none;
|
||||||
background: none;
|
background: none;
|
||||||
@ -79,32 +95,41 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-item-container .display-name {
|
.user-item-container .display-name {
|
||||||
color: var(--theme-color-palette-2);
|
color: var(--theme-color-palette-2);
|
||||||
border-bottom: 1px dotted var(--theme-color-palette-10);
|
border-bottom: 1px dotted var(--theme-color-palette-10);
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-item-container:hover .display-name {
|
.user-item-container:hover .display-name {
|
||||||
border-color: var(--theme-color-palette-4);
|
border-color: var(--theme-color-palette-4);
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-details h5 {
|
.user-details h5 {
|
||||||
color: var(--theme-color-palette-0);
|
color: var(--theme-color-palette-0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-details .created-at {
|
.user-details .created-at {
|
||||||
font-size: 0.75em;
|
font-size: 0.75em;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-details .connection-info {
|
.user-details .connection-info {
|
||||||
font-size: 0.88em;
|
font-size: 0.88em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-details .previous-names-list {
|
.user-details .previous-names-list {
|
||||||
font-size: 0.88em;
|
font-size: 0.88em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-details .previous-names-list .user-name-item {
|
.user-details .previous-names-list .user-name-item {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-details .previous-names-list .latest {
|
.user-details .previous-names-list .latest {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-details .previous-names-list .latest .user-name-item {
|
.user-details .previous-names-list .latest .user-name-item {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user