Skip to content

Commit 4929253

Browse files
Herrtianytmimi
authored andcommitted
Highlight rustfmt config doc version
1 parent 7991944 commit 4929253

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

docs/index.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,22 @@
5858
.searchCondition {
5959
display: flex;
6060
flex-wrap: wrap;
61+
position: sticky;
62+
top: 0;
63+
z-index: 1;
64+
padding: 12px 0;
65+
background: #fff;
66+
border-bottom: 1px solid #d1d5da;
6167
}
6268
.searchCondition > div {
6369
margin-right: 30px;
6470
}
71+
.version-note {
72+
flex-basis: 100%;
73+
margin-top: 8px;
74+
color: #57606a;
75+
font-size: 0.9em;
76+
}
6577
.header-link {
6678
position: relative;
6779
}
@@ -100,6 +112,9 @@
100112
</option>
101113
</select>
102114
</div>
115+
<div class="version-note">
116+
Configuration options can change between rustfmt versions. Select the version that matches the rustfmt you use.
117+
</div>
103118
</div>
104119
<div v-html="aboutHtml"></div>
105120
<div v-html="configurationAboutHtml"></div>

0 commit comments

Comments
 (0)