From 57c578f5d8471091b3898921784085392cccc53c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 26 Nov 2019 13:40:44 +0000 Subject: [PATCH] Center buttons --- epicyon-profile.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/epicyon-profile.css b/epicyon-profile.css index 044b9b5e6..c70796ef4 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -600,6 +600,7 @@ div.gallery img { padding: 0px 7px; margin-right: 20px; border-radius: 10%; + display: inline-block; } .container img.emojicalendar { float: left; @@ -766,7 +767,7 @@ div.gallery img { background-color: var(--button-background); color: var(--button-text); padding: var(--button-height-padding); - float: none; + display: inline-block; margin: 15px; border: none; border-radius: var(--button-corner-radius); @@ -815,7 +816,7 @@ div.gallery img { padding: var(--button-height-padding); margin: 15px; border: none; - float: none; + display: inline-block; border-radius: var(--button-corner-radius); cursor: pointer; font-size: var(--font-size); @@ -882,12 +883,12 @@ div.gallery img { border-radius: 10%; } .container img.emojisearch { - float: right; max-width: 400px; width: 11%; padding: 0px 7px; margin-right: 0px; border-radius: 10%; + display: inline-block; } .container img.emojicalendar { float: left; @@ -1053,7 +1054,7 @@ div.gallery img { input[type=button], input[type=submit] { background-color: var(--button-background); color: var(--button-text); - float: none; + display: inline-block; padding: var(--button-height-padding-mobile); margin: 15px; border: none; @@ -1100,7 +1101,7 @@ div.gallery img { .cancelbtn { background-color: var(--button-background); color: var(--button-text); - float: none; + display: inline-block; padding: var(--button-height-padding-mobile); margin: 15px; border: none;