1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 05:39:59 +00:00

button align (#3555)

This commit is contained in:
Michael An
2019-05-28 14:38:29 +08:00
committed by Daniel Pan
parent d03b8e58ab
commit b0ae1d7812
5 changed files with 16 additions and 11 deletions

View File

@@ -1,5 +1,6 @@
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import MediaQuery from 'react-responsive';
import { gettext } from '../../utils/constants';
import WikiListItem from './wiki-list-item';
@@ -38,8 +39,14 @@ class WikiListView extends Component {
<table>
<thead>
<tr>
<th width="4%"></th>
<th width="36%">{gettext('Name')}</th>
<MediaQuery query="(min-width: 768px)">
<th width="4%"></th>
<th width="36%">{gettext('Name')}</th>
</MediaQuery>
<MediaQuery query="(max-width: 768px)">
<th width="10%"></th>
<th width="30%">{gettext('Name')}</th>
</MediaQuery>
<th width="25%">{gettext('Owner')}</th>
<th width="25%">{gettext('Last Update')}</th>
<th width="10%">{/* operation */}</th>