In geonetwork I have truncated metadata file title when I do a search. Sometimes it is only a few characters that are missing so I try to increase the number of characters that can be displayed.
in the gn_search_default.less
file located in /catalog/views/default/less
folder there are the options for the title.
gn-md-title {
margin-top: 2px;
min-height: 3.5em;
max-height: 3.5em;
overflow: visible;
cursor: pointer;
h3
{
/* Leave space for selection checkbox */
//padding-left: 40px;
margin-top: 0px;
a {
//text-transform: uppercase;
font-weight: normal;
font-size: 80%;
color: #333333;
max-width: 800px;
overflow: visible;
}
a:hover {
color: #428bca;
text-decoration: none;
}
}
}
I can change the font-size percentage for instance but the max-width has no effect. I removed the text-overflow: ellipsis
option and set overflow: visible
.
However it has no effect on the displayed length of the title.
Here is a screenshot of the website in Firefox.
Any idea how to modify that?