Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnpHeader title area too small for phones #335

Closed
RichSharpe opened this issue May 29, 2015 · 3 comments
Closed

UnpHeader title area too small for phones #335

RichSharpe opened this issue May 29, 2015 · 3 comments

Comments

@RichSharpe
Copy link

@RichSharpe RichSharpe commented May 29, 2015

The 'Save and close buttons get overwritten by the title if its more than say, 14 chars.
Can we wrap the title over 2 lines? I think this would be an appropriate design decision.

@sives
Copy link

@sives sives commented Jun 4, 2015

I agree with this

@RichSharpe
Copy link
Author

@RichSharpe RichSharpe commented Jul 15, 2015

Workaround:

  1. Open UnpBootHeader custom control (or copy and rename so it won't get overwritten) - go to line 229 <xp:text value="#{javascript:compositeData.title}" and in the xp:text properties change the Content Type from text to HTML
  2. Add a style attribute to this tag: style="margin-bottom:10px;"
  3. In your common header XPage go to the xp:UnpBootHeader and in the title you can write "First Line <[br/]> Second line " (or) + docview.whateverField (for hte second line)
@whitemx whitemx closed this in ceef40d Jul 16, 2015
@whitemx whitemx modified the milestone: 1.5.0 Jul 21, 2015
@whitemx whitemx reopened this Jul 30, 2015
@whitemx
Copy link
Owner

@whitemx whitemx commented Jul 30, 2015

This is broken as a result of upgrading to Bootcards 1.1.3. Will need to raise this as an issue with Mark.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants