Project

General

Profile

Defect #36453 » 0001-fix-subject-overflow.patch

Dmitry Makurin , 2022-01-19 16:52

View differences:

public/stylesheets/application.css
530 530
.wiki-class-ltr {direction:ltr !important;}
531 531
.wiki-class-rtl {direction:rtl !important;}
532 532

  
533
div.issue div.subject div div { padding-left: 16px; }
533
div.issue div.subject div div { padding-left: 16px; word-break: break-word; }
534 534
div.issue div.subject p {margin: 0; margin-bottom: 0.1em; font-size: 90%; color: #999;}
535 535
div.issue div.subject>div>p { margin-top: 0.5em; }
536 536
div.issue div.subject h3 {margin: 0; margin-bottom: 0.1em;}
......
547 547

  
548 548
#issue_tree table.issues, #relations table.issues { border: 0; }
549 549
#issue_tree td.checkbox, #relations td.checkbox {display:none;}
550
#issue_tree td.subject, #relations td.subject {width: 50%;}
551 550
#issue_tree td.buttons, #relations td.buttons {padding:0;}
552 551
#issue_tree .issues-stat, #relations .issues-stat {font-size: 80%}
553 552
#issue_tree .issues-stat .badge, #relations .issues-stat .badge {bottom: initial;}
554

  
553
#issue_tree .issue > td, #relations .issue > td, #issue_tree .issue .user {
554
  text-overflow: ellipsis; /* if text exceeds its space, add ... */
555
  overflow: hidden;
556
}
557
#issue_tree .issue > td.subject, #relations .issue > td.subject {
558
  width: 100%; /* let subject have one full width column */
559
  word-break: break-word; /* break word if subject is too long */
560
  padding-right: 25px; /* this is the spaces that .buttons uses next to subject */
561
}
555 562
#trackers_description {display:none;}
556 563
#trackers_description dt {font-weight: bold; text-decoration: underline;}
557 564
#trackers_description dd {margin: 0; padding: 0 0 1em 0;}
public/stylesheets/responsive.css
774 774
    padding-right: 5px;
775 775
  }
776 776

  
777
  #issue_tree .issue > td, #relations .issue > td, #issue_tree .issue .user {
778
    text-overflow: ellipsis; /* if text exceeds its space, add ... */
779
    overflow: hidden;
780
  }
781

  
782
  #issue_tree .issue > td.subject, #relations .issue > td.subject {
783
    width: 100%; /* let subject have one full width column */
784
    word-break: break-word; /* break word if subject is too long */
785
    padding-right: 25px; /* this is the spaces that .buttons uses next to subject */
786
  }
787

  
788 777
  #issue_tree .issue > td:not(.subject), #relations .issue > td:not(.subject) {
789 778
    width: 20%; /* three columns for all cells that are not subject */
790 779
  }
(6-6/6)