fix short filename hover

This commit is contained in:
ccd0 2014-06-28 22:07:02 -07:00
parent b6739cc45d
commit 646c29c4bc
2 changed files with 3 additions and 3 deletions

View File

@ -695,8 +695,8 @@ span.hide-announcement {
}
/* File */
.fileText > span > a:hover .fntrunc,
.fileText > span > a:not(:hover) .fnfull,
.fnswitch:hover > .fntrunc,
.fnswitch:not(:hover) > .fnfull,
.expanded-image > .post > .file > .fileThumb > img[data-md5] {
display: none;
}

View File

@ -25,7 +25,7 @@ FileInfo =
if fullname is shortname
E fullname
else
"<span class='fntrunc'>#{E shortname}</span><span class='fnfull'>#{E fullname}</span>"
"<span class='fnswitch'><span class='fntrunc'>#{E shortname}</span><span class='fnfull'>#{E fullname}</span></span>"
N: -> E @file.name
p: -> if @file.isSpoiler then 'Spoiler, ' else ''
s: -> E @file.size