From aefdc8ef81fe8de6231bd22d34d3b89be35e47c5 Mon Sep 17 00:00:00 2001 From: Vineet Reynolds Date: Tue, 13 Jan 2015 15:43:51 +0530 Subject: [PATCH] WFK2-837 Set margin to title conditionally. 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. --- demo/src/main/webapp/resources/css/m.screen.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/demo/src/main/webapp/resources/css/m.screen.css b/demo/src/main/webapp/resources/css/m.screen.css index 52a74f8c6..e8257c83f 100644 --- a/demo/src/main/webapp/resources/css/m.screen.css +++ b/demo/src/main/webapp/resources/css/m.screen.css @@ -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;