Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix for button backgrounds (#10234)
  • Loading branch information
IanMatthewHuff authored Feb 20, 2020
commit 348e85a2e91cd15b7665b280033ab781212e67ca
1 change: 1 addition & 0 deletions news/2 Fixes/10154.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Correct image backgrounds for notebook editor.
2 changes: 1 addition & 1 deletion src/datascience-ui/native-editor/nativeEditor.less
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@

.native-button {
margin-top: 3px;
background: var(--override-background, var(--vscode-editor-background));
background: transparent;
z-index: 10;
}

Expand Down
2 changes: 1 addition & 1 deletion src/datascience-ui/react-common/imageButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class ImageButton extends React.Component<IImageButtonProps> {

public render() {
const classNames = `image-button image-button-${this.props.baseTheme} ${this.props.hidden ? 'hide' : ''} ${
this.props.className
this.props.className ? this.props.className : ''
}`;
const innerFilter = this.props.disabled ? 'image-button-inner-disabled-filter' : '';
const ariaDisabled = this.props.disabled ? 'true' : 'false';
Expand Down