Skip to content

Commit 0707cbb

Browse files
committed
refactor: remove unnecessary container class
1 parent 2cb718b commit 0707cbb

4 files changed

Lines changed: 7 additions & 19 deletions

File tree

src/legacy/ui/public/exit_full_screen/__snapshots__/exit_full_screen_button.test.js.snap

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/plugins/kibana_react/public/exit_full_screen_button/__snapshots__/exit_full_screen_button.test.tsx.snap

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/plugins/kibana_react/public/exit_full_screen_button/_exit_full_screen_button.scss

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
1-
.dshExitFullScreenButton {
2-
text-align: center;
3-
width: 100%;
4-
height: 0;
5-
bottom: 0;
6-
position: absolute;
7-
}
8-
91
/**
102
* 1. override the z-index: 1 applied to all non-eui elements that are in :focus via kui
113
* - see packages/kbn-ui-framework/src/global_styling/reset/_reset.scss
124
*/
135

14-
.dshExitFullScreenButton__mode {
6+
.dshExitFullScreenButton {
157
height: $euiSizeXXL;
168
left: 0;
179
bottom: 0;

src/plugins/kibana_react/public/exit_full_screen_button/exit_full_screen_button.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ class ExitFullScreenButtonUi extends PureComponent<ExitFullScreenButtonProps> {
5151
})}
5252
</p>
5353
</EuiScreenReaderOnly>
54-
<div className="dshExitFullScreenButton">
54+
<div>
5555
<button
5656
aria-label={i18n.translate(
5757
'kibana-react.exitFullScreenButton.exitFullScreenModeButtonAriaLabel',
5858
{
5959
defaultMessage: 'Exit full screen mode',
6060
}
6161
)}
62-
className="dshExitFullScreenButton__mode"
62+
className="dshExitFullScreenButton"
6363
onClick={this.props.onExitFullScreenMode}
6464
>
6565
<span

0 commit comments

Comments
 (0)