Skip to content

Commit bdbc977

Browse files
committed
rustdoc: fix weird toggle-all-docs style in iOS
1 parent ac732b6 commit bdbc977

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,9 @@ button#toggle-all-docs {
305305
background: none;
306306
border: none;
307307
cursor: pointer;
308+
/* iOS button gradient: https://stackoverflow.com/q/5438567 */
309+
-webkit-appearance: none;
310+
opacity: 1;
308311
}
309312

310313
/* end tweaks for normalize.css 8 */

0 commit comments

Comments
 (0)