From 661d27dbb3742b8cd1096c36a37e5b87a5573b73 Mon Sep 17 00:00:00 2001 From: John O'Nolan Date: Wed, 12 Aug 2015 09:17:01 +0200 Subject: [PATCH 1/2] Prevent view titles from being cut off in Safari See #5652 --- core/client/app/templates/about.hbs | 2 +- core/client/app/templates/posts.hbs | 2 +- core/client/app/templates/settings/code-injection.hbs | 2 +- core/client/app/templates/settings/general.hbs | 2 +- core/client/app/templates/settings/labs.hbs | 2 +- core/client/app/templates/settings/navigation.hbs | 2 +- core/client/app/templates/settings/tags.hbs | 2 +- core/client/app/templates/team/index.hbs | 2 +- core/client/app/templates/team/user.hbs | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/core/client/app/templates/about.hbs b/core/client/app/templates/about.hbs index 8d20c93853..1f38531ef4 100644 --- a/core/client/app/templates/about.hbs +++ b/core/client/app/templates/about.hbs @@ -2,7 +2,7 @@
- + {{!-- TODO: fix about notifications --}} {{gh-notifications location="about-upgrade" notify="updateNotificationChange"}}
diff --git a/core/client/app/templates/posts.hbs b/core/client/app/templates/posts.hbs index fd3d566587..5f150cf8c7 100644 --- a/core/client/app/templates/posts.hbs +++ b/core/client/app/templates/posts.hbs @@ -1,6 +1,6 @@
- {{#gh-view-title openMobileMenu="openMobileMenu"}}Content{{/gh-view-title}} + {{#gh-view-title openMobileMenu="openMobileMenu"}}Content{{/gh-view-title}}
{{#link-to "editor.new" class="btn btn-green" title="New Post"}}New Post{{/link-to}}
diff --git a/core/client/app/templates/settings/code-injection.hbs b/core/client/app/templates/settings/code-injection.hbs index de71df50d4..8273e13233 100644 --- a/core/client/app/templates/settings/code-injection.hbs +++ b/core/client/app/templates/settings/code-injection.hbs @@ -1,6 +1,6 @@
- {{#gh-view-title openMobileMenu="openMobileMenu"}}Code Injection{{/gh-view-title}} + {{#gh-view-title openMobileMenu="openMobileMenu"}}Code Injection{{/gh-view-title}}
{{gh-spin-button type="button" class="btn btn-blue" action="save" buttonText="Save" submitting=submitting}}
diff --git a/core/client/app/templates/settings/general.hbs b/core/client/app/templates/settings/general.hbs index a9aa94fcd1..27d7624991 100644 --- a/core/client/app/templates/settings/general.hbs +++ b/core/client/app/templates/settings/general.hbs @@ -1,6 +1,6 @@
- {{#gh-view-title openMobileMenu="openMobileMenu"}}General{{/gh-view-title}} + {{#gh-view-title openMobileMenu="openMobileMenu"}}General{{/gh-view-title}}
{{gh-spin-button type="button" class="btn btn-blue" action="save" buttonText="Save" submitting=submitting}}
diff --git a/core/client/app/templates/settings/labs.hbs b/core/client/app/templates/settings/labs.hbs index f5fe3dab79..917aacfde1 100644 --- a/core/client/app/templates/settings/labs.hbs +++ b/core/client/app/templates/settings/labs.hbs @@ -1,6 +1,6 @@
- {{#gh-view-title openMobileMenu="openMobileMenu"}}Labs{{/gh-view-title}} + {{#gh-view-title openMobileMenu="openMobileMenu"}}Labs{{/gh-view-title}}
diff --git a/core/client/app/templates/settings/navigation.hbs b/core/client/app/templates/settings/navigation.hbs index 488973201b..c8dcb6533c 100644 --- a/core/client/app/templates/settings/navigation.hbs +++ b/core/client/app/templates/settings/navigation.hbs @@ -1,6 +1,6 @@ {{#gh-navigation moveItem="moveItem"}}
- {{#gh-view-title openMobileMenu="openMobileMenu"}}Navigation{{/gh-view-title}} + {{#gh-view-title openMobileMenu="openMobileMenu"}}Navigation{{/gh-view-title}}
{{gh-spin-button type="button" class="btn btn-blue" action="save" buttonText="Save" submitting=submitting}}
diff --git a/core/client/app/templates/settings/tags.hbs b/core/client/app/templates/settings/tags.hbs index f6a9cfe16e..ccc320d596 100644 --- a/core/client/app/templates/settings/tags.hbs +++ b/core/client/app/templates/settings/tags.hbs @@ -1,6 +1,6 @@
- {{#gh-view-title openMobileMenu="openMobileMenu"}}Tags{{/gh-view-title}} + {{#gh-view-title openMobileMenu="openMobileMenu"}}Tags{{/gh-view-title}}
diff --git a/core/client/app/templates/team/index.hbs b/core/client/app/templates/team/index.hbs index 6beb552a56..99539c371e 100644 --- a/core/client/app/templates/team/index.hbs +++ b/core/client/app/templates/team/index.hbs @@ -1,6 +1,6 @@
- {{#gh-view-title openMobileMenu="openMobileMenu"}}Team{{/gh-view-title}} + {{#gh-view-title openMobileMenu="openMobileMenu"}}Team{{/gh-view-title}} {{!-- Do not show Invite user button to authors --}} {{#unless session.user.isAuthor}}
diff --git a/core/client/app/templates/team/user.hbs b/core/client/app/templates/team/user.hbs index 2f5d4fab3b..a5c6ad35b7 100644 --- a/core/client/app/templates/team/user.hbs +++ b/core/client/app/templates/team/user.hbs @@ -2,7 +2,7 @@
{{#gh-view-title openMobileMenu="openMobileMenu"}} {{link-to "Team" "team"}} - {{user.name}} + {{user.name}} {{/gh-view-title}}
{{#if userActionsAreVisible}} From 97ce6f8a0cd7d4e6617144897871502a88eaf8d4 Mon Sep 17 00:00:00 2001 From: John O'Nolan Date: Wed, 12 Aug 2015 10:29:40 +0200 Subject: [PATCH 2/2] Multiple minor visual style fixes - Lighter dropdown shadow - Removed display:flex from .btn because safari can't handle it on
{{#if confirm}} {{/if}}