File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 5858 margin-right : 10px ;
5959 transition-duration : 500ms ;
6060}
61- # gh-link {
61+ . gh-link {
6262 text-decoration : none;
6363 font-size : 10pt ;
6464 font-family : sans-serif;
7777 margin-left : 0px ;
7878 transition-duration : 400ms ;
7979}
80- # gh-link : hover {
80+ . gh-link : hover {
8181 color : # dfe8f3 !important ;
8282 border-color : # dfe8f3 !important ;
8383}
Original file line number Diff line number Diff line change @@ -70,12 +70,20 @@ def app_page_layout(
7070 ),
7171 html .H2 (app_title ),
7272 html .A (
73- id = "gh-link" ,
74- children = ["View on GitHub" ],
75- href = "http://github.com/plotly/dash-bio/"
76- "blob/master/tests/dashbio_demos/dash-{}/app.py" .format (
77- app_name
78- ),
73+ children = ["Enterprise Demo" ],
74+ className = "gh-link" ,
75+ href = "http://github.com/plotly/dash-bio/" ,
76+ style = {
77+ "color" : "white" if light_logo else "black" ,
78+ "border" : "solid 1px white"
79+ if light_logo
80+ else "solid 1px black" ,
81+ },
82+ ),
83+ html .A (
84+ className = "gh-link" ,
85+ children = ["Source Code" ],
86+ href = "https://github.com/plotly/dash-sample-apps/tree/main/apps/dash-pileup-demo" ,
7987 style = {
8088 "color" : "white" if light_logo else "black" ,
8189 "border" : "solid 1px white"
You can’t perform that action at this time.
0 commit comments