Merge "ChangeScreen2: Display ellipsis when owner name is long"
This commit is contained in:
		@@ -660,9 +660,11 @@ public class ChangeScreen2 extends Screen {
 | 
			
		||||
 | 
			
		||||
  private void renderOwner(ChangeInfo info) {
 | 
			
		||||
    // TODO info card hover
 | 
			
		||||
    ownerText.setInnerText(info.owner().name() != null
 | 
			
		||||
    String name = info.owner().name() != null
 | 
			
		||||
        ? info.owner().name()
 | 
			
		||||
        : Gerrit.getConfig().getAnonymousCowardName());
 | 
			
		||||
        : Gerrit.getConfig().getAnonymousCowardName();
 | 
			
		||||
    ownerText.setInnerText(name);
 | 
			
		||||
    ownerText.setTitle(name);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  private void renderSubmitType(String action) {
 | 
			
		||||
 
 | 
			
		||||
@@ -61,6 +61,10 @@ limitations under the License.
 | 
			
		||||
      position: absolute;
 | 
			
		||||
      top: 0;
 | 
			
		||||
      left: 29px;
 | 
			
		||||
      width: 245px;
 | 
			
		||||
      white-space: nowrap;
 | 
			
		||||
      overflow: hidden;
 | 
			
		||||
      text-overflow: ellipsis;
 | 
			
		||||
    }
 | 
			
		||||
    .idStatus {
 | 
			
		||||
      position: absolute;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user