Skip to content

Commit 7005ddb

Browse files
committed
Add right border bar to Dark and Light theme
Ayu has it. Adding similar rule to other themes makes users less surprised and makes GUI more consistent.
1 parent ccbb024 commit 7005ddb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/librustdoc/html/static/themes/dark.css

+1
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ a.test-arrow:hover{
270270

271271
:target > code, :target > .in-band {
272272
background-color: #494a3d;
273+
border-right: 3px solid #bb7410;
273274
}
274275

275276
pre.compile_fail {

src/librustdoc/html/static/themes/light.css

+1
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ a.test-arrow:hover{
265265

266266
:target > code, :target > .in-band {
267267
background: #FDFFD3;
268+
border-right: 3px solid #ffb44c;
268269
}
269270

270271
pre.compile_fail {

0 commit comments

Comments
 (0)