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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user