mirror of
https://github.com/Xevion/rdap.git
synced 2025-12-06 01:16:00 -06:00
Use .dashed class instead of global attribute selector for title indication
This commit is contained in:
@@ -22,7 +22,7 @@ const DynamicDate: FunctionComponent<DynamicDateProps> = ({
|
||||
const date = new Date(value);
|
||||
return (
|
||||
<button onClick={toggleFormat}>
|
||||
<span title={date.toISOString()}>
|
||||
<span className="dashed" title={date.toISOString()}>
|
||||
{showAbsolute
|
||||
? format(date, absoluteFormat ?? "LLL do, y HH:mm:ss xxx")
|
||||
: <TimeAgo date={date} />}
|
||||
|
||||
@@ -8,7 +8,7 @@ const PropertyListItem: FunctionComponent<{
|
||||
}> = ({ title, children }) => {
|
||||
return (
|
||||
<li>
|
||||
<span title={title}>{children}</span>
|
||||
<span className="dashed" title={title}>{children}</span>
|
||||
</li>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -10,7 +10,7 @@ dd {
|
||||
margin: 0.5em 0 1em 2em;
|
||||
}
|
||||
|
||||
[title]:not(.no-title) {
|
||||
.dashed {
|
||||
border-bottom: 1px dashed silver;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user