diff --git a/src/components/common/messaging/bars/JumpToBottom.tsx b/src/components/common/messaging/bars/JumpToBottom.tsx index 5ad88acf..d1a13ae4 100644 --- a/src/components/common/messaging/bars/JumpToBottom.tsx +++ b/src/components/common/messaging/bars/JumpToBottom.tsx @@ -45,6 +45,10 @@ export const Bar = styled.div<{ position: "top" | "bottom"; accent?: boolean }>` justify-content: space-between; transition: color ease-in-out 0.08s; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + ${(props) => props.accent ? css` @@ -86,6 +90,10 @@ export const Bar = styled.div<{ position: "top" | "bottom"; accent?: boolean }>` display: flex; align-items: center; gap: 6px; + + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } &:hover { @@ -103,6 +111,12 @@ export const Bar = styled.div<{ position: "top" | "bottom"; accent?: boolean }>` padding: 0 12px; `} } + + @media only screen and (max-width: 800px) { + .right > span { + display: none; + } + } `; export default observer(({ channel }: { channel: Channel }) => { @@ -119,8 +133,10 @@ export default observer(({ channel }: { channel: Channel }) => {