Skip to content

Commit

Permalink
[Amsterdam] Added rounded corners to inline EuiCode (#3599)
Browse files Browse the repository at this point in the history
* Add global `$euiBorderRadiusSmall`
  • Loading branch information
hbharding authored Jun 12, 2020
1 parent 780d026 commit 1259952
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
$euiBorderRadius: $euiSizeS * .75;
$euiBorderRadiusSmall: $euiSizeS * .5;
3 changes: 3 additions & 0 deletions src/themes/eui-amsterdam/overrides/_code.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.euiCodeBlock--inline {
border-radius: $euiBorderRadiusSmall;
}
1 change: 1 addition & 0 deletions src/themes/eui-amsterdam/overrides/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@import 'button_empty';
@import 'button_group';
@import 'call_out';
@import 'code';
@import 'filter_group';
@import 'flyout';
@import 'header';
Expand Down

0 comments on commit 1259952

Please sign in to comment.