better longue lines handling

This commit is contained in:
mose 2019-08-18 14:33:08 +08:00
parent fb20194be8
commit 24fa624828
2 changed files with 1 additions and 11 deletions

View file

@ -39,17 +39,6 @@ li {
text-overflow: ellipsis; text-overflow: ellipsis;
list-style-type: square; list-style-type: square;
} }
.card li:hover {
overflow: visible;
text-overflow: initial;
position: relative;
z-index: 99;
width: 100%;
}
.card li:hover a {
background-color: #fff;
padding-right: 1em;
}
.card:hover { .card:hover {
border: 1px solid rgb(36, 33, 32); border: 1px solid rgb(36, 33, 32);
box-shadow: -3px 3px 10px 2px #aaa; box-shadow: -3px 3px 10px 2px #aaa;

View file

@ -31,6 +31,7 @@ $(document).ready(function() {
var link = $("<a>") var link = $("<a>")
.attr("href", "https://idees.crapaud-fou.org/" + index) .attr("href", "https://idees.crapaud-fou.org/" + index)
.attr("class", "list-item") .attr("class", "list-item")
.attr("title", idee)
.text(idee); .text(idee);
var li = $("<li>").append(link); var li = $("<li>").append(link);
$(".idees ul").append(li); $(".idees ul").append(li);