* adjust table layout for english environment.

This commit is contained in:
Hao Sun
2021-11-18 17:08:02 +08:00
parent 759533f592
commit c2b944d7e9
2 changed files with 17 additions and 14 deletions
+6 -3
View File
@@ -44,6 +44,8 @@ th.c-bug {width: 200px;}
th.c-plan {width: 45px;}
th.c-release {width: 50px;}
th.c-actions {width: 60px;}
[lang='en'] .en-wrap-text {white-space: normal; height: 24px; line-height: 1; font-size: 12px;}
#productListForm thead>tr>th,
#productListForm tbody>tr>td {text-align: center; text-overflow: unset!important}
@@ -66,6 +68,8 @@ th.c-actions {width: 60px;}
@media screen and (max-width: 1460px)
{
th.c-name {width: auto;}
[lang^='zh-'] th.c-requirement {width: 260px;}
[lang^='zh-'] th.c-story {width: 260px;}
}
@media screen and (max-width: 1300px)
{
@@ -76,9 +80,8 @@ th.c-actions {width: 60px;}
@media screen and (max-width: 1250px)
{
#productListForm thead>tr>th {font-size: 12px;}
th.c-requirement {width: 280px;}
th.c-story {width: 280px;}
th.c-actions {width: 50px;}
th.c-requirement {width: 265px;}
th.c-story {width: 265px;}
[lang^='zh-'] th.c-requirement {width: 220px;}
[lang^='zh-'] th.c-story {width: 220px;}
}
+11 -11
View File
@@ -60,18 +60,18 @@
</tr>
<tr class="text-center">
<?php if($this->config->URAndSR):?>
<th class='c-requirement-draft' style="border-left: 1px solid #ddd;"><?php echo $lang->story->draft;?></th>
<th class='c-requirement-activate'><?php echo $lang->story->activate;?></th>
<th class='c-requirement-change'><?php echo $lang->story->change;?></th>
<th class='c-requirement-completeRate'><?php echo $lang->story->completeRate;?></th>
<th style="border-left: 1px solid #ddd;"><?php echo $lang->story->draft;?></th>
<th><?php echo $lang->story->activate;?></th>
<th><?php echo $lang->story->change;?></th>
<th><div class='en-wrap-text'><?php echo $lang->story->completeRate;?></div></th>
<?php endif;?>
<th class='c-story-draft' style="border-left: 1px solid #ddd;"><?php echo $lang->story->draft;?></th>
<th class='c-story-activate'><?php echo $lang->story->activate;?></th>
<th class='c-story-change'><?php echo $lang->story->change;?></th>
<th class='c-story-completeRate'><?php echo $lang->story->completeRate;?></th>
<th class='c-bug-activate' style="border-left: 1px solid #ddd;"><?php echo $lang->bug->activate;?></th>
<th class='c-bug-close'><?php echo $lang->close;?></th>
<th class='c-bug-fixedRate'><?php echo $lang->bug->fixedRate;?></th>
<th style="border-left: 1px solid #ddd;"><?php echo $lang->story->draft;?></th>
<th><?php echo $lang->story->activate;?></th>
<th><?php echo $lang->story->change;?></th>
<th><div class='en-wrap-text'><?php echo $lang->story->completeRate;?></div></th>
<th style="border-left: 1px solid #ddd;"><?php echo $lang->bug->activate;?></th>
<th><?php echo $lang->close;?></th>
<th><?php echo $lang->bug->fixedRate;?></th>
</tr>
</thead>
<tbody id="productTableList">