Skip to content

Commit a7c0c9f

Browse files
committed
rustdoc: add explanatory comment to width: 100% line
1 parent c147c0d commit a7c0c9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustdoc/html/static/css/rustdoc.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1433,6 +1433,7 @@ pre.rust {
14331433
bottom: 0;
14341434
left: 0;
14351435
right: 0;
1436+
/* work around button layout strangeness: https://stackoverflow.com/q/7271561 */
14361437
width: 100%;
14371438
/* iOS button gradient: https://stackoverflow.com/q/5438567 */
14381439
-webkit-appearance: none;

0 commit comments

Comments
 (0)