From bed49d0b2635afc998c6f281653ca8b5ad996830 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 2 Feb 2017 11:46:52 +0100 Subject: [PATCH] Adjust space between buttons in the home page --- customize.dist/index.html | 9 +-------- customize.dist/main.css | 6 +++++- customize.dist/src/fragments/index.html | 9 +-------- customize.dist/src/less/cryptpad.less | 5 ++++- 4 files changed, 11 insertions(+), 18 deletions(-) diff --git a/customize.dist/index.html b/customize.dist/index.html index 013e9b68c..cc7be8877 100644 --- a/customize.dist/index.html +++ b/customize.dist/index.html @@ -73,14 +73,7 @@

-
- - - - - - -
+
diff --git a/customize.dist/main.css b/customize.dist/main.css index 176eeebe7..4c4ac11c7 100644 --- a/customize.dist/main.css +++ b/customize.dist/main.css @@ -836,7 +836,7 @@ html.cp, } .cp #main #userForm button.half, .cp #main_other #userForm button.half { - width: calc(50% - 4px); + width: calc(50% - 2px); } .cp #main #userForm button.half:not(.first), .cp #main_other #userForm button.half:not(.first) { @@ -894,6 +894,10 @@ html.cp, cursor: pointer; margin-top: 10px; } +.cp p.buttons .dropdown-bar, +.cp div.buttons .dropdown-bar { + margin-left: 4px; +} .cp #fileManagerIframe { width: 100%; height: 500px; diff --git a/customize.dist/src/fragments/index.html b/customize.dist/src/fragments/index.html index 293fef6f1..66f474156 100644 --- a/customize.dist/src/fragments/index.html +++ b/customize.dist/src/fragments/index.html @@ -6,14 +6,7 @@

-
- - - - - - -
+
diff --git a/customize.dist/src/less/cryptpad.less b/customize.dist/src/less/cryptpad.less index 3559f2d99..6a9e52190 100644 --- a/customize.dist/src/less/cryptpad.less +++ b/customize.dist/src/less/cryptpad.less @@ -396,7 +396,7 @@ body.html { margin: 2px 0px; cursor: pointer; &.half { - width: ~"calc(50% - 4px)"; + width: ~"calc(50% - 2px)"; &:not(.first) { float: right; } @@ -445,6 +445,9 @@ p.buttons, div.buttons { cursor: pointer; margin-top: 10px; } + .dropdown-bar { + margin-left: 4px; + } } #fileManagerIframe {