Skip to content

Commit 2f538b3

Browse files
authored
fix(avatar): remove avatar border on ionic theme (#30045)
Issue number: internal --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? - Removed avatar border with ionic theme, to align with UX/UI design. - Updated snapshots ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change: 1. Describe the impact and migration path for existing applications below. 2. Update the BREAKING.md file with the breaking change. 3. Add "BREAKING CHANGE: [...]" to the commit description when merging. See https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#footer for more information. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> [Avatar Ionic Sample](https://ionic-framework-nimqjtxw7-ionic1.vercel.app/src/components/avatar/test/shape?ionic:theme=ionic)
1 parent 26db121 commit 2f538b3

File tree

55 files changed

+0
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+0
-2
lines changed

core/src/components/avatar/avatar.ionic.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323

2424
:host(:not(.avatar-image)) {
2525
@include padding(var(--padding-top), var(--padding-end), var(--padding-bottom), var(--padding-start));
26-
27-
border: globals.$ion-border-size-025 globals.$ion-border-style-solid globals.$ion-primitives-neutral-800;
2826
}
2927

3028
// Avatar Sizes
-716 Bytes
-222 Bytes
-648 Bytes

0 commit comments

Comments
 (0)