Skip to content

Commit 43af268

Browse files
authored
Merge pull request #3181 from plotly/upgrade-css
Fix font overrides in debug menu
2 parents 3b7785b + bba1f9d commit 43af268

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.error-container {
22
padding: 0 10px;
3+
font-family: Courier;
34
}
45

56
.dash-fe-error__icon-x {
@@ -204,7 +205,6 @@
204205
border-radius: 2px;
205206
margin-bottom: 15px;
206207
border: 1px solid #0018661a;
207-
font-family: Courier;
208208
font-size: 12.6px;
209209
}
210210

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
display: flex;
108108
color: black;
109109
flex-direction: column;
110-
font-family: Verdana, sans-serif;
110+
font-family: Verdana, sans-serif !important;
111111
font-size: 14px;
112112
justify-content: center;
113113
align-items: center;
@@ -178,6 +178,7 @@
178178
align-items: center;
179179
transition: background-color 0.2s;
180180
cursor: pointer;
181+
font-family: Verdana, sans-serif !important;
181182
font-weight: bold;
182183
}
183184
.dash-debug-menu__button:hover {

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
text-decoration: none;
1010
cursor: pointer;
1111
display: flex;
12-
font-family: Verdana sans-serif;
12+
font-family: Verdana, sans-serif !important;
1313
}
1414

1515
.dash-debug-menu__upgrade-tooltip:after {
@@ -28,6 +28,7 @@
2828
border: 1px solid #864ad433;
2929
color: #7f4bc4;
3030
margin-left: 10px;
31+
font-family: Verdana, sans-serif !important;
3132
cursor: pointer;
3233
}
3334

0 commit comments

Comments
 (0)