Commit 28c0b001 authored by Nicolas Frandeboeuf's avatar Nicolas Frandeboeuf
Browse files

Duplicates: use tooltips instead of title attribute (fix #789)

parent fb1d6177
......@@ -43,10 +43,10 @@ const OperationLine = props => {
<div>
<h3>
<span
className="fa fa-question-circle clickable"
aria-hidden="true"
title={more}
/>
className="tooltipped tooltipped-ne tooltipped-multiline"
aria-label={more}>
<span className="fa fa-question-circle clickable" />
</span>
<span>{title}</span>
</h3>
<p>
......
......@@ -21,3 +21,8 @@
margin-right: 1em;
line-height: 1.4em;
}
/* Force the font size of primer-tooltips */
.tooltipped::after {
font-size: 1rem;
}
......@@ -53,7 +53,7 @@ table.duplicates td[rowspan] {
font-size: 1.2rem;
}
.duplicate > div.duplicate-operation > div > h3 span {
.duplicate > div.duplicate-operation > div > h3 > span {
margin-right: 0.5em;
}
......
......@@ -27,6 +27,7 @@ let entry = {
'./node_modules/dygraphs/dist/dygraph.css',
'./node_modules/c3/c3.css',
'./node_modules/flatpickr/dist/themes/light.css',
'./node_modules/primer-tooltips/build/build.css',
'./client/css/base.css',
'./client/init.js'
]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment