Make sender bold
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
e5a563f887
commit
535ae086b4
2 changed files with 10 additions and 1 deletions
|
@ -62,6 +62,10 @@ limitations under the License.
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mx_ImageView_info_sender {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
.mx_ImageView_toolbar {
|
.mx_ImageView_toolbar {
|
||||||
padding-right: 16px;
|
padding-right: 16px;
|
||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
|
|
|
@ -266,6 +266,11 @@ export default class ImageView extends React.Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
const senderName = mxEvent.sender ? mxEvent.sender.name : mxEvent.getSender();
|
const senderName = mxEvent.sender ? mxEvent.sender.name : mxEvent.getSender();
|
||||||
|
const sender = (
|
||||||
|
<div className="mx_ImageView_info_sender">
|
||||||
|
{senderName}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
const messageTimestamp = (
|
const messageTimestamp = (
|
||||||
<a
|
<a
|
||||||
href={permalink}
|
href={permalink}
|
||||||
|
@ -288,7 +293,7 @@ export default class ImageView extends React.Component {
|
||||||
<div className="mx_ImageView_info_wrapper">
|
<div className="mx_ImageView_info_wrapper">
|
||||||
{avatar}
|
{avatar}
|
||||||
<div className="mx_ImageView_info">
|
<div className="mx_ImageView_info">
|
||||||
{senderName}
|
{sender}
|
||||||
{messageTimestamp}
|
{messageTimestamp}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue