Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: fix avatar in profile being oval-shaped #4299

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
- revert debian packagename from `deltachat` back to `deltachat-desktop` #4266
- style: fix VCard color being too bright in dark theme #4255
- style: less vertical space between radio group items #4298
- style: fix the avatar in the profile dialog being oval-shaped #4299
- remove unnecessary horizontal scrollbar in "View Group" dialog #4254
- add missing cancel buttons to import-/export- and reveive-backup progress dialogs #4272
- change title and button label of EditAccountAndPasswordDialog to make it clearer that it is about email account #4271, #4279
Expand Down
5 changes: 5 additions & 0 deletions packages/frontend/src/components/Avatar/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@
padding: 0;
// space for focus outline
margin: 3px;
// Ensure that this element is not taller than the children.
display: flex;
&:hover {
background-color: var(--buttonHover);
}
:global(.avatar) {
--local-avatar-vertical-margin: 0;
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.profileInfoHeader {
display: flex;
--local-avatar-vertical-margin: 0;
}

.infoContainer {
Expand Down
Loading