Defect #13127

h1 multiple lined titles breaks into main menu

Added by Martin Nørgaard Gregersen almost 5 years ago. Updated over 4 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:UI
Target version:2.2.4
Resolution:Fixed Affected version:2.2.1

Description

The fixed height on the #header makes header break down into the header, when Titles are long. In our company they make a lot of long headers, which makes the header break into the main menu way too often and disturbs the UX.

To fix this and keep the header flexible for single- and multiple lines, simply add (or change) the following CSS:

#header {
height:auto;
}
#header h1 {
padding-bottom: 30px;
}


Related issues

Duplicated by Redmine - Defect #13302: Project Title very long and UI Error Closed

Associated revisions

Revision 11351
Added by Jean-Philippe Lang almost 5 years ago

Fixed that long project names in the header may overlap the main menu (#13127).

Revision 11595
Added by Jean-Philippe Lang over 4 years ago

Merged r11351 from trunk (#13127).

History

#1 Updated by Jean-Philippe Lang almost 5 years ago

  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version set to 2.2.3
  • Resolution set to Fixed

I've committed a different fix in r11351 to avoid the bottom-padding on the h1. Can you confirm it's OK?

#2 Updated by Ivan Cenov almost 5 years ago

I tested with several projects (parent-child-child..) with long names. Some part was dropped because not fitted in the header.

P.S. May header should have variable height?

#3 Updated by Jean-Philippe Lang almost 5 years ago

  • Target version changed from 2.2.3 to 2.2.4

Ivan Cenov wrote:

I tested with several projects (parent-child-child..) with long names. Some part was dropped because not fitted in the header.

P.S. May header should have variable height?

Did you apply the fix before your test ? Because the patch makes the height variable.

#4 Updated by Ivan Cenov almost 5 years ago

Hmm, It seems I have forgotten to make svn update before test. The height is variable.

#5 Updated by Ivan Cenov almost 5 years ago

.

#6 Updated by Jean-Philippe Lang over 4 years ago

  • Status changed from Resolved to Closed

OK, thanks for the feedback.

Also available in: Atom PDF