Skip to content

Commit

Permalink
WFK2-837 Set margin to title conditionally.
Browse files Browse the repository at this point in the history
This ensures that the margin for the title is set based on
whether a button is present to it's left. A larger margin is set
when a button is present.
  • Loading branch information
VineetReynolds committed Jan 13, 2015
1 parent f3f9110 commit aefdc8e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions demo/src/main/webapp/resources/css/m.screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ a:hover {
margin-right: 10%;
}

/* But if there is a button on the left, offset the left margin more
and also increase left margin more than the right */
.ui-header .ui-btn-left + .ui-title {
margin-left: 22.5%;
margin-right: 15%;
}

span.invalid {
padding-left: 3px;
color: red;
Expand Down

0 comments on commit aefdc8e

Please sign in to comment.