Make both have the same baseline

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-04-21 17:37:25 +02:00
parent ffcd79f4a3
commit eee1294374
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
2 changed files with 3 additions and 10 deletions

View File

@ -14,11 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
.mx_SenderProfile_name {
display: flex;
align-items: center;
}
.mx_SenderProfile_displayName {
font-weight: 600;
}

View File

@ -140,11 +140,9 @@ export default class SenderProfile extends React.Component<IProps, IState> {
return (
<div className="mx_SenderProfile" dir="auto" onClick={this.props.onClick}>
<div className="mx_SenderProfile_hover">
<div className="mx_SenderProfile_name">
{ displayNameElement }
{ mxidElement }
{ flair }
</div>
{ displayNameElement }
{ mxidElement }
{ flair }
</div>
</div>
);