From 24fa62482879f1cfdc41fe435dd1403c0fdf9360 Mon Sep 17 00:00:00 2001 From: mose Date: Sun, 18 Aug 2019 14:33:08 +0800 Subject: [PATCH] better longue lines handling --- site/crapaud-fou.css | 11 ----------- site/crapaud-fou.js | 1 + 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/site/crapaud-fou.css b/site/crapaud-fou.css index 5467763..627783e 100644 --- a/site/crapaud-fou.css +++ b/site/crapaud-fou.css @@ -39,17 +39,6 @@ li { text-overflow: ellipsis; 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 { border: 1px solid rgb(36, 33, 32); box-shadow: -3px 3px 10px 2px #aaa; diff --git a/site/crapaud-fou.js b/site/crapaud-fou.js index 1edb77e..e729563 100644 --- a/site/crapaud-fou.js +++ b/site/crapaud-fou.js @@ -31,6 +31,7 @@ $(document).ready(function() { var link = $("") .attr("href", "https://idees.crapaud-fou.org/" + index) .attr("class", "list-item") + .attr("title", idee) .text(idee); var li = $("
  • ").append(link); $(".idees ul").append(li);