Skip to content

Commit f0f18bf

Browse files
authored
Merge pull request #3188 from plotly/upgrade-css
Add small changes to devtools style
2 parents daea0f7 + 1d79719 commit f0f18bf

File tree

3 files changed

+28
-7
lines changed

3 files changed

+28
-7
lines changed

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
color: #b9c2ce;
1111
font-size: 20px;
1212
cursor: pointer;
13-
margin-right: 10px;
1413
}
1514

1615
.dash-fe-error__icon-x:hover {
@@ -125,12 +124,16 @@
125124
}
126125

127126
.dash-be-error__str {
128-
background-color: #fdf3f4;
127+
background-color: #F5F6FA;
129128
min-width: 386px;
130-
max-width: 650px;
129+
width: 100%;
131130
overflow: auto;
132-
display: inline-block;
133-
white-space: pre-wrap;
131+
line-height: 17px;
132+
margin-bottom: 8px;
133+
}
134+
135+
.dash-backend-error {
136+
padding: 8px;
134137
}
135138

136139
.dash-error-menu {

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@
1717
transform: rotate(-180deg);
1818
}
1919

20+
.dash-debug-menu__outer button {
21+
height: auto;
22+
padding: unset;
23+
line-height: normal;
24+
text-transform: none;
25+
font-size: 14px;
26+
border-radius: 0px;
27+
letter-spacing: normal;
28+
}
29+
2030
.dash-debug-menu__popup {
2131
display: flex;
2232
flex-direction: column;
@@ -135,7 +145,7 @@
135145
display: flex;
136146
flex-direction: column;
137147
background-color: white;
138-
border-radius: 3px;
148+
border-radius: 6px;
139149
border: 1px solid #0018661a;
140150
padding: 11px;
141151
box-shadow: 0px 0px 14px 5px #00000012;

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
cursor: pointer;
1111
display: flex;
1212
font-family: Verdana, sans-serif !important;
13+
font-weight: 500;
14+
line-height: normal;
1315
}
1416

1517
.dash-debug-menu__upgrade-tooltip:after {
@@ -23,15 +25,21 @@
2325
border-color: white transparent transparent transparent;
2426
}
2527

26-
.dash-debug-menu__upgrade-button {
28+
.dash-debug-menu__outer button.dash-debug-menu__upgrade-button {
2729
background-color: #a159ff0d;
2830
border: 1px solid #864ad433;
2931
color: #7f4bc4;
3032
margin-left: 10px;
3133
font-family: Verdana, sans-serif !important;
3234
cursor: pointer;
35+
height: 20px;
36+
padding: 0px 8px;
37+
border-radius: 3px;
38+
font-weight: 500;
3339
}
3440

3541
.dash-debug-menu__upgrade-button:hover {
3642
background-color: #864ad433;
43+
border-color: #864ad433;
44+
color: #7f4bc4;
3745
}

0 commit comments

Comments
 (0)