Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions packages/react/src/views/Message/Message.styles.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

import { css } from '@emotion/react';

export const getMessageStyles = ({ theme }) => {
Expand All @@ -11,9 +12,6 @@ export const getMessageStyles = ({ theme }) => {
padding-left: 2.25rem;
padding-right: 2.25rem;
color: ${theme.colors.foreground};
@media (max-width: 768px) {
padding-left: 0.8rem;
}
`,
messageEditing: css`
background-color: ${theme.colors.secondary};
Expand Down Expand Up @@ -77,9 +75,6 @@ export const getMessageDividerStyles = (theme) => {
margin-bottom: 0.75rem;
padding-left: 1.25rem;
padding-right: 1.25rem;
@media (max-width: 780px) {
z-index: 1;
}
`,

dividerContent: css`
Expand Down Expand Up @@ -129,9 +124,6 @@ export const getUnreadMessageDividerStyles = (theme, mode) => {
margin-bottom: 0.75rem;
padding-left: 1.25rem;
padding-right: 1.25rem;
@media (max-width: 780px) {
z-index: 1;
}
`,

dividerContent: css`
Expand Down Expand Up @@ -165,6 +157,7 @@ export const getMessageHeaderStyles = (theme) => {
header: css`
display: flex;
flex-direction: row;
flex-wrap: wrap;
flex-grow: 0;
flex-shrink: 1;
min-width: 1px;
Expand Down Expand Up @@ -228,7 +221,8 @@ export const getMessageHeaderStyles = (theme) => {
font-weight: 400;
line-height: 1rem;
flex-shrink: 0;
margin-left: 0.25rem;
margin-left: auto;
min-width: fit-content;
`,
messageStatus: css`
display: flex;
Expand Down