Fix wrong font being used for tooltips i icons
This commit is contained in:
parent
e1b9081e69
commit
b4f404b581
3 changed files with 20 additions and 2 deletions
|
|
@ -1838,6 +1838,10 @@ instead, we check that it's not a "finger" cursor.
|
|||
border-right: 3px solid var(--target-border-color);
|
||||
}
|
||||
|
||||
a.tooltip {
|
||||
font-family: var(--font-family);
|
||||
}
|
||||
|
||||
.code-header a.tooltip {
|
||||
color: inherit;
|
||||
margin-right: 15px;
|
||||
|
|
|
|||
|
|
@ -8,10 +8,10 @@ define-function: (
|
|||
[x, i_x],
|
||||
block {
|
||||
// Checking they have the same y position.
|
||||
compare-elements-position: (
|
||||
compare-elements-position-near: (
|
||||
"//*[@id='method.create_an_iterator_from_read']//a[normalize-space()='NotableStructWithLongName']",
|
||||
"//*[@id='method.create_an_iterator_from_read']//*[@class='tooltip']",
|
||||
["y"],
|
||||
{"y": 1},
|
||||
)
|
||||
// Checking they don't have the same x position.
|
||||
compare-elements-position-false: (
|
||||
|
|
|
|||
|
|
@ -767,3 +767,17 @@ pub mod impls_indent {
|
|||
pub fn bar() {}
|
||||
}
|
||||
}
|
||||
|
||||
pub mod tooltips {
|
||||
pub struct X;
|
||||
|
||||
impl X {
|
||||
pub fn bar() -> Vec<u8> {
|
||||
Vec::new()
|
||||
}
|
||||
}
|
||||
|
||||
pub fn bar() -> Vec<u8> {
|
||||
Vec::new()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue