Skip to content

Commit 1d79719

Browse files
committed
Fix problems with stylesheet that is imported in docs
1 parent 8eb95c9 commit 1d79719

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

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)