mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
improve PostOnHover positioning logic
This commit is contained in:
@@ -22,8 +22,16 @@ const PostOnHover = ({ cid, feed }) => {
|
||||
const stateString = useStateString(reply);
|
||||
|
||||
return (
|
||||
<Container selectedStyle={selectedStyle} style={{margin: '0', padding: '0',
|
||||
whiteSpace: 'nowrap', overflow: 'visible'}}>
|
||||
<Container selectedStyle={selectedStyle} style={{
|
||||
margin: '0',
|
||||
padding: '0',
|
||||
whiteSpace: 'normal',
|
||||
maxWidth: '100vw',
|
||||
overflowWrap: 'break-word',
|
||||
wordWrap: 'break-word',
|
||||
wordBreak: 'break-all',
|
||||
boxSizing: 'border-box',
|
||||
}}>
|
||||
<BoardForm selectedStyle={selectedStyle} style={{margin: '0', padding: '0'}}>
|
||||
<div className="board" style={{margin: '0', padding: '0'}}>
|
||||
<div className="thread" style={{margin: '0', padding: '0'}}>
|
||||
|
||||
Reference in New Issue
Block a user