Skip to content

Commit 79b27be

Browse files
committed
Apply more style updates
1 parent 4cdd7bf commit 79b27be

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

dash/dash-renderer/src/components/error/FrontEnd/FrontEndError.css

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,12 @@
7777
margin: 0px;
7878
margin-left: 5px;
7979
padding: 0px;
80-
font-size: 14px;
80+
font-size: 12.6px;
8181
display: inline-block;
8282
text-overflow: ellipsis;
8383
white-space: nowrap;
8484
overflow: hidden;
85+
line-height: 20px;
8586
}
8687
.dash-fe-error__timestamp {
8788
margin-right: 20px;
@@ -187,15 +188,15 @@
187188
width: 422px;
188189
}
189190
.dash-error-card--container {
190-
padding: 20px;
191+
padding: 16px;
191192
width: 600px;
192193
max-width: 800px;
193194
max-height: calc(100vh - 125px);
194-
margin-bottom: 7px;
195+
margin-bottom: 4px;
195196
background-color: white;
196197
overflow: auto;
197-
z-index: 1100; /* above the plotly.js toolbar and Bootstrap components */
198-
box-shadow: 0 0 15px 6px #0000000d;
198+
border-radius: 6px;
199+
box-shadow: 0px 0.7px 1.4px 0px rgba(0, 0, 0, 0.07), 0px 1.9px 4px 0px rgba(0, 0, 0, 0.05), 0px 4.5px 10px 0px rgba(0, 0, 0, 0.05);
199200
}
200201

201202
.dash-error-card__topbar {
@@ -207,6 +208,8 @@
207208
font-size: 14px;
208209
align-items: center;
209210
position: relative;
211+
padding-bottom: 14px;
212+
font-weight: 700;
210213
}
211214
.dash-error-card__message {
212215
font-size: 14px;
@@ -232,7 +235,7 @@
232235
display: flex;
233236
justify-content: space-between;
234237
align-items: center;
235-
padding: 10px;
238+
padding: 8px;
236239
cursor: pointer;
237240
}
238241

dash/dash-renderer/src/components/error/FrontEnd/FrontEndError.react.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ class FrontEndError extends Component {
3131
onClick={() => this.setState({collapsed: !collapsed})}
3232
>
3333
<span className='dash-fe-error-top__group'>
34-
⛑️
3534
<span className='dash-fe-error__title'>
3635
{e.error.message || 'Error'}
3736
</span>

dash/dash-renderer/src/components/error/menu/DebugMenu.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
transition: 0.3s;
2626
box-sizing: border-box;
2727
position: fixed;
28-
bottom: 27px;
29-
right: 27px;
28+
bottom: 8px;
29+
right: 8px;
3030
display: flex;
3131
flex-direction: column;
3232
justify-content: center;
@@ -35,8 +35,8 @@
3535
border-radius: 5px;
3636
padding: 5px;
3737
background-color: #f5f6fa;
38-
box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.25),
39-
0px 1px 3px rgba(162, 177, 198, 0.32);
38+
box-shadow: 0px 0.8px 0.8px 0px rgba(0, 0, 0, 0.04), 0px 2.3px 2px 0px rgba(0, 0, 0, 0.03);
39+
border: 1px solid var(--Stroke-Weak, rgba(0, 24, 102, 0.10));
4040
}
4141
.dash-debug-menu__outer--closed {
4242
height: 60px;
@@ -61,7 +61,6 @@
6161
}
6262

6363
.dash-debug-menu__status {
64-
margin: 3px;
6564
display: flex;
6665
align-items: center;
6766
}

0 commit comments

Comments
 (0)