about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-03-24 01:52:32 +0100
committerGitHub <noreply@github.com>2021-03-24 01:52:32 +0100
commit8c1c7a73963d9cd842197f2aaa180efe3b961ab3 (patch)
tree69e601b97b8e56d6e2d34a67b41535c0fe5676cf /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent2b53ec3d1e2acc416b069278dd55169452037850 (diff)
parent6c80deb4a5b8e9ec6dcf03e504461ec71eab69f1 (diff)
downloadrust-8c1c7a73963d9cd842197f2aaa180efe3b961ab3.tar.gz
rust-8c1c7a73963d9cd842197f2aaa180efe3b961ab3.zip
Rollup merge of #83393 - GuillaumeGomez:codeblock-tooltip-position, r=Nemo157
Codeblock tooltip position

The codeblocks tooltips were misplaced. Normally, there is no top margin applied to a tooltip unless the codeblock is the first element of the doc block. The CSS rule was too vague though, applying it to all tooltips where the codeblock was the first child of its parent. Which can be easily seen with lists:

Before:

![Screenshot from 2021-03-22 22-05-16](https://user-images.githubusercontent.com/3050060/112059812-a667ba80-8b5c-11eb-88dd-1c598ceb3766.png)

After:

![Screenshot from 2021-03-22 22-06-31](https://user-images.githubusercontent.com/3050060/112059815-a7005100-8b5c-11eb-9e40-8fc57513e498.png)

r? ``@Nemo157``
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions