about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-02-02 07:11:06 +0100
committerGitHub <noreply@github.com>2022-02-02 07:11:06 +0100
commit2484cb8327e3138ac8d7ca32b372a6ddaa928339 (patch)
treefd6f5f8d24eb85822322b90383c4f9a11c1dbe33 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent8ede21b09ce7130a1453bfaa5e889fc2a7ae3ac8 (diff)
parentc790128c3c2c26a4ca347fd68cffd4000ecb3295 (diff)
downloadrust-2484cb8327e3138ac8d7ca32b372a6ddaa928339.tar.gz
rust-2484cb8327e3138ac8d7ca32b372a6ddaa928339.zip
Rollup merge of #93420 - jsha:adjust-settings-layout, r=GuillaumeGomez
Improve wrapping on settings page

Previously, the radio button choices for themes would wrap awkwardly on
narrow screens. With this change, the group of choices will prefer
bumping down to the next line together, leaving the setting name on its
own line.

Also fix some minor spacing issues:

 - Align the setting name vertically with the radio button choices.
 - Use margin instead of padding for most spacing choices.
 - Use no margin/padding on the right-hand side.

 Demo: https://rustdoc.crud.net/jsha/adjust-settings-layout/settings.html

 r? ``@GuillaumeGomez``

Before (narrow screen):

![image](https://user-images.githubusercontent.com/220205/151555533-7ab65216-d178-4dcc-8792-3c8fb9da8718.png)

After (narrow screen):

![image](https://user-images.githubusercontent.com/220205/151555702-ad79af32-f84b-4ee4-ae7a-1a2a463c0f6f.png)
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions