prevent overflow of the table. issue #1306

This commit is contained in:
Jacky 2017-11-04 23:57:29 -04:00
parent d086b8356a
commit a39ee108ac
2 changed files with 17 additions and 1 deletions

View File

@ -88,7 +88,7 @@
"open-proj": "Open Project",
"name": "Name",
"rename": "rename",
"edit-meta-data": "Edit meta data",
"edit-meta-data": "About",
"creator": "Creator",
"contributors": "Contributors",
"subject": "Subject",

View File

@ -90,3 +90,19 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#metadata-body tr:nth-child(even) {background: #CCC}
#metadata-body tr:nth-child(odd) {background: #FFF}
#metadata-body > table {
table-layout: fixed
}
#metadata-body > table > tbody > tr > td {
word-wrap: break-word;
}
#metadata-body > table > tbody > tr:nth-child(1) > th:nth-child(2) {
width: 80%
}
#metadata-body > table > tbody > tr:nth-child(1) > th:nth-child(3) {
width: 3%
}