Make both have the same baseline

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Š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,13 +140,11 @@ 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>
</div>
</div>
);
}
}