From 86226bc22d1a32dd70e2117bc9ac7bb6a7564cb4 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 19 Oct 2017 15:32:28 +0100 Subject: [PATCH 1/2] Add padding-right to Dialogs The "groups will be public" warning was apparently the first thing long enough to reach the right hand edge --- src/skins/vector/css/_common.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/skins/vector/css/_common.scss b/src/skins/vector/css/_common.scss index 3189deb0b2e..227b92ed1ed 100644 --- a/src/skins/vector/css/_common.scss +++ b/src/skins/vector/css/_common.scss @@ -153,6 +153,7 @@ textarea { font-size: 15px; position: relative; padding-left: 58px; + padding-right: 58px; padding-bottom: 36px; width: 60%; max-width: 704px; From ea459c84baf6dddd43c80ad4a7abc7ddec037894 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 19 Oct 2017 15:48:56 +0100 Subject: [PATCH 2/2] Other dialog subclasses have padding-right --- src/skins/vector/css/_common.scss | 1 - .../matrix-react-sdk/views/dialogs/_ChatInviteDialog.scss | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/skins/vector/css/_common.scss b/src/skins/vector/css/_common.scss index 227b92ed1ed..3189deb0b2e 100644 --- a/src/skins/vector/css/_common.scss +++ b/src/skins/vector/css/_common.scss @@ -153,7 +153,6 @@ textarea { font-size: 15px; position: relative; padding-left: 58px; - padding-right: 58px; padding-bottom: 36px; width: 60%; max-width: 704px; diff --git a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_ChatInviteDialog.scss b/src/skins/vector/css/matrix-react-sdk/views/dialogs/_ChatInviteDialog.scss index 38bb4f01c3a..a950ea8d122 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/dialogs/_ChatInviteDialog.scss +++ b/src/skins/vector/css/matrix-react-sdk/views/dialogs/_ChatInviteDialog.scss @@ -14,6 +14,14 @@ See the License for the specific language governing permissions and limitations under the License. */ +.mx_ChatInviteDialog { + /* XXX: padding-left is on mx_Dialog but padding-right has subsequently + * been added on other dialogs. Surely all our dialogs should have consistent + * right hand padding? + */ + padding-right: 58px; +} + /* Using a textarea for this element, to circumvent autofill */ .mx_ChatInviteDialog_input, .mx_ChatInviteDialog_input:focus