Skip to content

Commit

Permalink
fix: Fix next reset for code blocks and super update button icon (#1306)
Browse files Browse the repository at this point in the history
Signed-off-by: Viraj Sanghvi <virajs@amazon.com>
  • Loading branch information
virajsanghvi committed Jul 18, 2024
1 parent 7a6a456 commit 006aef8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- Add small button and filter-button internal components ([#1301](https://github.com/opensearch-project/oui/pull/1301))

### 🐛 Bug Fixes
- Fix next reset for code blocks and super update button icon ([1306])(https://github.com/opensearch-project/oui/pull/1306)

### 🚞 Infrastructure

Expand Down Expand Up @@ -4507,4 +4508,4 @@

## [`0.0.1`](https://github.com/elastic/eui/tree/v0.0.1) Initial Release

- Initial public release
- Initial public release
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ exports[`OuiSuperUpdateButton isLoading 1`] = `
<OuiButton
className="ouiSuperUpdateButton"
color="success"
iconType="kqlFunction"
iconType="refresh"
isDisabled={false}
isLoading={true}
onClick={[Function]}
Expand Down Expand Up @@ -98,7 +98,7 @@ exports[`OuiSuperUpdateButton needsUpdate 1`] = `
<OuiButton
className="ouiSuperUpdateButton"
color="success"
iconType="kqlFunction"
iconType="refresh"
isDisabled={false}
isLoading={false}
onClick={[Function]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export class OuiSuperUpdateButton extends Component<OuiSuperUpdateButtonProps> {
<OuiButton
className={classes}
color={needsUpdate || isLoading ? 'success' : 'primary'}
iconType={needsUpdate || isLoading ? 'kqlFunction' : 'refresh'}
iconType="refresh"
textProps={{
...restTextProps,
className: classNames(
Expand Down
1 change: 0 additions & 1 deletion src/themes/oui-next/global_styling/reset/_reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ time, mark, audio, video {

code, pre, kbd, samp {
font-family: var(--oui-code-font-family);
font-size: 16px;
line-height: 1.5;
}

Expand Down

0 comments on commit 006aef8

Please sign in to comment.