Pointer on hover, link exemption

This commit is contained in:
Thomas Smith 2022-12-15 13:51:36 -05:00
parent 5542cbc063
commit 8817e3592d
3 changed files with 13 additions and 6 deletions

View file

@ -22,5 +22,6 @@ exclude = [
"file:///home/runner/work/www/www/public/manage.kmail-lists.com/subscriptions/subscribe",
"file:///home/runner/work/www/www/public/www.klaviyo.com/media/js/public/klaviyo_subscribe.js",
"https://openssl.org/",
"https://twitter.com/teaxyz_"
"https://twitter.com/teaxyz_",
"https://app.tea.xyz/api/signups",
]

View file

@ -26,11 +26,13 @@ function Bottles() {
...new Set(bottles.filter((b) => b.name === name).map((b) => b.version)),
];
return (
<div onClick={() => toggleExpanded(!expanded)}>
<h3>{name}</h3>
<h4>
{versions.length} version{versions.length === 1 ? "" : "s"} bottled
</h4>
<div className="expand" onClick={() => toggleExpanded(!expanded)}>
<div className="expand-text">
<h3>{name}</h3>
<h4>
{versions.length} version{versions.length === 1 ? "" : "s"} bottled
</h4>
</div>
{expanded && (
<table className="one-box-down">
<thead>

View file

@ -24,6 +24,10 @@
padding: 20px;
}
.expand{
cursor: pointer;
}
</style>
{{ end }}