1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-25 14:50:29 +00:00

[view shared dir] show thumbnail icon & show file with popup for image files (#3224)

This commit is contained in:
llj
2019-04-09 12:32:25 +08:00
committed by Daniel Pan
parent afcc6fe6f1
commit ea24464f0c
3 changed files with 186 additions and 6 deletions

View File

@@ -166,7 +166,7 @@ class Item extends Component {
const desktopItem = (
<tr onMouseOver={this.handleMouseOver} onMouseOut={this.handleMouseOut}>
<td className="alc">
<td className="text-center">
{
data.thumbnail_url ?
<img className="thumbnail" src={data.thumbnail_url} alt="" /> :
@@ -189,7 +189,7 @@ class Item extends Component {
const mobileItem = (
<tr>
<td className="alc">
<td className="text-center">
{
data.thumbnail_url ?
<img className="thumbnail" src={data.thumbnail_url} alt="" /> :