mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-29 00:40:57 +01:00
Make columns in flag view not squish each other
Summary: Unlike (all? most?) other tables, the flag table has two wide columns: the object name and the flag note. This fiddles with the classes so neither gets squished too much by the other. This is kind of a hack and I don't even know if it's cross-browser compatible because I only have WebKit here. But maybe it's fine. Test Plan: View Differential home page while changing revision names and flag notes to weird things. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T1586 Differential Revision: https://secure.phabricator.com/D3128
This commit is contained in:
parent
d31accf076
commit
04fafdb75c
2 changed files with 11 additions and 7 deletions
|
@ -92,12 +92,12 @@ final class PhabricatorFlagListView extends AphrontView {
|
|||
));
|
||||
$table->setColumnClasses(
|
||||
array(
|
||||
'',
|
||||
'pri',
|
||||
'wide',
|
||||
'',
|
||||
'action',
|
||||
'action',
|
||||
'narrow',
|
||||
'wrap pri',
|
||||
'wrap',
|
||||
'narrow',
|
||||
'narrow action',
|
||||
'narrow action',
|
||||
));
|
||||
$table->setNoDataString('No flags.');
|
||||
|
||||
|
|
|
@ -91,10 +91,14 @@
|
|||
text-align: right;
|
||||
}
|
||||
|
||||
.aprhont-table-view td.wrap {
|
||||
.aphront-table-view td.wrap {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.aphront-table-view td.narrow {
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
div.single-display-line-bounds {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
|
|
Loading…
Reference in a new issue