Skip to content

Commit 86ddff5

Browse files
committed
chore: fix panel display issue on firefox
1 parent f932dd7 commit 86ddff5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/__tests__/__snapshots__/Panel.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ exports[`renders panel correctly 1`] = `
2020
</h2>
2121
</div>
2222
<div
23-
class="ub-dspl_flex ub-flx-drct_column ub-flx_1 ub-min-h_115px ub-pl_16px ub-pr_16px ub-pb_20px ub-pt_20px ub-box-szg_border-box"
23+
class="ub-dspl_flex ub-flx-drct_column ub-min-h_115px ub-pl_16px ub-pr_16px ub-pb_20px ub-pt_20px ub-box-szg_border-box"
2424
>
2525
<div
2626
class="ub-dspl_flex ub-box-szg_border-box"

src/components/Panel/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,10 @@ export class Panel extends Component {
124124
render() {
125125
return (
126126
<Pane minWidth={350}>
127-
<Header />
128127
{!this.state.ready ? null : (
129128
<>
130-
<Pane display="flex" flexDirection="column" flex={1} minHeight={115} paddingX={16} paddingY={20}>
129+
<Header />
130+
<Pane display="flex" flexDirection="column" minHeight={115} paddingX={16} paddingY={20}>
131131
{this.state.isEnabled && this.state.schedule.isEnabled ? (
132132
<Pane display="flex">
133133
<Pane display="flex" alignItems="center" flex={1}>

src/components/Timer/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ export class Timer extends Component {
112112
render() {
113113
return (
114114
<Pane minWidth={350}>
115-
{/* <Header /> */}
116115
{!this.state.ready ? null : (
117116
<>
117+
{/* <Header /> */}
118118
<Pane display="flex" minHeight={177} paddingX={16} paddingY={18} alignItems="center" justifyContent="center">
119119
<CountdownCircleTimer
120120
key={this.state.key}

0 commit comments

Comments
 (0)