diff --git a/CHANGELOG.md b/CHANGELOG.md index f6278d547e9..9d76fb51a1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ - Updated `EuiCallout` by removing left border, adding border radius and increasing font weight on titles ([#3557](https://github.com/elastic/eui/pull/3557/)) - Updated `EuiHeaderBreadcrumbs` style to be more prominent ([#3578](https://github.com/elastic/eui/pull/3578/)) - Fixed `EuiFilterGroup` `border-radius` ([#3591](https://github.com/elastic/eui/pull/3591/)) +- Updated `EuiCodeBlock` inline code style to use border radius ([#3599](https://github.com/elastic/eui/pull/3599)) ## [`25.0.0`](https://github.com/elastic/eui/tree/v25.0.0) diff --git a/src/themes/eui-amsterdam/global_styling/variables/_borders.scss b/src/themes/eui-amsterdam/global_styling/variables/_borders.scss index 69a05ac0a3f..daf8e50a0cd 100644 --- a/src/themes/eui-amsterdam/global_styling/variables/_borders.scss +++ b/src/themes/eui-amsterdam/global_styling/variables/_borders.scss @@ -1 +1,2 @@ $euiBorderRadius: $euiSizeS * .75; +$euiBorderRadiusSmall: $euiSizeS * .5; diff --git a/src/themes/eui-amsterdam/overrides/_code.scss b/src/themes/eui-amsterdam/overrides/_code.scss new file mode 100644 index 00000000000..8aa2ac128a6 --- /dev/null +++ b/src/themes/eui-amsterdam/overrides/_code.scss @@ -0,0 +1,3 @@ +.euiCodeBlock--inline { + border-radius: $euiBorderRadiusSmall; +} diff --git a/src/themes/eui-amsterdam/overrides/_index.scss b/src/themes/eui-amsterdam/overrides/_index.scss index b43bb165853..a8fcf7a02d1 100644 --- a/src/themes/eui-amsterdam/overrides/_index.scss +++ b/src/themes/eui-amsterdam/overrides/_index.scss @@ -2,6 +2,7 @@ @import 'button_empty'; @import 'button_group'; @import 'call_out'; +@import 'code'; @import 'filter_group'; @import 'flyout'; @import 'header';