@@ -150,48 +150,59 @@ const Message = ({
150150 borderLeftWidth : 6 ,
151151 borderLeftStyle : 'solid' ,
152152 } } >
153- < div style = { { display : 'flex' , width : '100%' } } >
153+ < div
154+ style = { {
155+ display : 'flex' ,
156+ width : '100%' ,
157+ alignItems : 'start' ,
158+ alignContent : 'center' ,
159+ paddingBottom : 5 ,
160+ } } >
154161 < div className = { classes . imageWrapper } >
155162 { image !== null ? (
156163 < img
157164 src = { config . get ( 'url' ) + image }
158165 alt = { `${ appName } logo` }
159- width = "70 "
160- height = "70 "
166+ width = "50 "
167+ height = "50 "
161168 className = { classes . image }
162169 />
163170 ) : null }
164171 </ div >
165- < div className = { classes . messageContentWrapper } >
166- < div className = { classes . header } >
167- < Typography className = { `${ classes . headerTitle } title` } variant = "h5" >
168- { title }
169- </ Typography >
170- < Typography variant = "body1" className = { classes . date } >
171- < TimeAgo
172- date = { date }
173- formatter = { makeIntlFormatter ( {
174- style : dateWrapped ? 'long' : 'narrow' ,
175- } ) }
176- />
177- </ Typography >
178- < IconButton
179- onClick = { fDelete }
180- className = { `${ classes . trash } delete` }
181- size = "large" >
182- < Delete />
183- </ IconButton >
184- </ div >
185-
186- < Typography
187- component = "div"
188- ref = { setPreviewRef }
189- className = { `${ classes . content } content ${
190- isOverflowing && expanded ? 'expanded' : ''
191- } `} >
192- { renderContent ( ) }
172+ < div className = { `${ classes . headerTitle } title` } >
173+ < Typography className = { `${ classes . headerTitle } title` } variant = "h5" >
174+ { title }
175+ </ Typography >
176+ < Typography variant = "subtitle1" fontSize = { 12 } style = { { opacity : 0.7 } } >
177+ { appName }
193178 </ Typography >
194179 </ div >
180+ < Typography variant = "body1" className = { classes . date } >
181+ < TimeAgo
182+ date = { date }
183+ formatter = { makeIntlFormatter ( {
184+ style : dateWrapped ? 'long' : 'narrow' ,
185+ } ) }
186+ />
187+ </ Typography >
188+ < IconButton
189+ onClick = { fDelete }
190+ style = { { padding : 14 } }
191+ className = { `${ classes . trash } delete` }
192+ size = "large" >
193+ < Delete />
194+ </ IconButton >
195+ </ div >
196+
197+ < div className = { classes . messageContentWrapper } >
198+ < Typography
199+ component = "div"
200+ ref = { setPreviewRef }
201+ className = { `${ classes . content } content ${
202+ isOverflowing && expanded ? 'expanded' : ''
203+ } `} >
204+ { renderContent ( ) }
205+ </ Typography >
195206 </ div >
196207 { isOverflowing && (
197208 < Button
0 commit comments