Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit ff57573

Browse files
committed
fix: in screenshot alert, the icon and title text are misaligned
Fixes #6770
1 parent 131638a commit ff57573

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

plugins/plugin-client-common/web/scss/components/Alert/PatternFly.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
white-space: normal;
1919

2020
h4 {
21+
margin: 0;
2122
font-size: inherit;
2223
}
2324
}

plugins/plugin-electron-components/src/components/Screenshot.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 IBM Corporation
2+
* Copyright 2020-21 IBM Corporation
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -196,7 +196,7 @@ export default class Screenshot extends React.PureComponent<Props, State> {
196196

197197
return (
198198
<Alert id="screenshot-captured" isGlobal timeout={timeout} alert={alert} onCloseButtonClick={this._onClose}>
199-
<div className="flex-layout">
199+
<div className="flex-layout top-pad">
200200
<img src={this.state.captured.toDataURL()} className="screenshot-image" />
201201
</div>
202202
<div className="kui--screenshot-captured-bottom-message">{this.saveToDiskButton()}</div>

0 commit comments

Comments
 (0)