Skip to content
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
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## [`master`](https://github.com/elastic/eui/tree/master)

No public interface changes since `11.3.1`.
**Bug fixes**

- Fixed `EuiCallOut` header icon alignment ([#2006](https://github.com/elastic/eui/pull/2006))

## [`11.3.1`](https://github.com/elastic/eui/tree/v11.3.1)

Expand Down
14 changes: 6 additions & 8 deletions src/components/call_out/_call_out.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
&.euiCallOut--small {
padding: $euiSizeS;
}

.euiCallOutHeader__icon {
flex: 0 0 auto;
// Vertically center icon with first line of title
transform: translateY(2px);
}
}

// Create callout modifiders based upon the map.
Expand Down Expand Up @@ -46,11 +52,3 @@
@include euiCallOutTitle('s');
}
}

/**
* 1. Vertically center icon with first line of title.
*/
.euiCallOutHeader__icon {
flex: 0 0 auto;
transform: translateY(2px); /* 1 */
}