Skip to content

Commit

Permalink
Altering the avatars a bit (#945)
Browse files Browse the repository at this point in the history
  • Loading branch information
cchaos authored Jun 22, 2018
1 parent d9a2a1b commit adab5c5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## [`master`](https://github.com/elastic/eui/tree/master)

- Reduced font sizes of `EuiAvatar` ([#945](https://github.com/elastic/eui/pull/945))

**Bug fixes**

- `EuiTooltip` re-positions content correctly after the window is resized ([#936](https://github.com/elastic/eui/pull/936))
Expand Down
9 changes: 5 additions & 4 deletions src/components/avatar/_avatar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
vertical-align: middle;
overflow-x: hidden;
cursor: default; // Make sure we don't get the text cursor
font-weight: $euiFontWeightRegular; // Explicitly state so it doesn't get overridden by inheritence
}

.euiAvatar--user {
Expand All @@ -21,19 +22,19 @@
$avatarSizing: (
s: (
size: $euiSizeL,
font-size: $euiSizeM
font-size: $euiSizeM*.9
),
m: (
size: $euiSizeXL,
font-size: $euiSize
font-size: $euiSize*.9
),
l: (
size: $euiSizeXXL,
font-size: $euiSizeL
font-size: $euiSizeL*.8
),
xl: (
size: ($euiSize * 4),
font-size: $euiSizeXL
font-size: $euiSizeXL*.8
),
);

Expand Down

0 comments on commit adab5c5

Please sign in to comment.