Skip to content
Snippets Groups Projects
Commit 4b2c1fb1 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

add ... in case the license name is too long

parent cfd1ba14
No related branches found
No related tags found
3 merge requests!264Resolve "add support for matomo",!236Main,!234Resolve "License information not displayed in the left panel (new interface)"
Pipeline #94711 passed
......@@ -90,8 +90,14 @@ export const ProjectInfoDrawer = (): JSX.Element => {
)}
{licenseExists && (
<li className="mt-2 text-hyperlink-blue">
<button type="button" onClick={onLicenseClick} className="text-base font-semibold">
License: {licenseName}
<span className="text-black">License: </span>
<button
type="button"
onClick={onLicenseClick}
className="truncate text-base font-semibold"
title={licenseName}
>
{licenseName}
</button>
</li>
)}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment