From 8338860f74d672071fbeb96574f57a225248d6a3 Mon Sep 17 00:00:00 2001 From: hannajones Date: Wed, 21 May 2025 03:51:42 +0000 Subject: [PATCH] Bug 1606785 - Format profiles CSS files with Prettier r=profiles-reviewers,desktop-theme-reviewers,dao,mossop Differential Revision: https://phabricator.services.mozilla.com/D249170 --- browser/components/profiles/content/avatar.css | 2 -- browser/components/profiles/content/profile-card.css | 7 ++----- browser/components/profiles/content/profiles-pages.css | 5 +---- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/browser/components/profiles/content/avatar.css b/browser/components/profiles/content/avatar.css index cbcf49c5ddfa..90752e5b0e5f 100644 --- a/browser/components/profiles/content/avatar.css +++ b/browser/components/profiles/content/avatar.css @@ -33,8 +33,6 @@ background-color: var(--button-background-color-hover); } - - @media (forced-colors) { &:hover { border-color: SelectedItem; diff --git a/browser/components/profiles/content/profile-card.css b/browser/components/profiles/content/profile-card.css index 0356bccb5b19..e622022ce100 100644 --- a/browser/components/profiles/content/profile-card.css +++ b/browser/components/profiles/content/profile-card.css @@ -7,9 +7,7 @@ :host { --avatar-size: 80px; --profile-card-radius: 12px; - --profile-card-radius-inner: calc( - var(--profile-card-radius) - var(--border-width) - ); + --profile-card-radius-inner: calc(var(--profile-card-radius) - var(--border-width)); } .profile-card { @@ -76,8 +74,7 @@ background-position: center; -moz-context-properties: fill, stroke; fill: var(--icon-color); - border-radius: var(--profile-card-radius-inner) - var(--profile-card-radius-inner) 0 0; + border-radius: var(--profile-card-radius-inner) var(--profile-card-radius-inner) 0 0; } .profile-avatar { diff --git a/browser/components/profiles/content/profiles-pages.css b/browser/components/profiles/content/profiles-pages.css index 2b66398f32dc..55809b590741 100644 --- a/browser/components/profiles/content/profiles-pages.css +++ b/browser/components/profiles/content/profiles-pages.css @@ -17,10 +17,7 @@ body { display: flex; justify-content: center; - background-color: var( - --newtab-background-color, - var(--background-color-canvas) - ); + background-color: var(--newtab-background-color, var(--background-color-canvas)); } edit-profile-card,