From b19ded3af322b6c38daf51bbc514e2ba410e5f0c Mon Sep 17 00:00:00 2001 From: Daksh Doshi Date: Wed, 27 Jan 2021 11:08:36 +0530 Subject: [PATCH] Centrally Aligned the button-texts --- js/widgets/temperament.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/js/widgets/temperament.js b/js/widgets/temperament.js index 6eb7df6589..5962084cbd 100644 --- a/js/widgets/temperament.js +++ b/js/widgets/temperament.js @@ -926,7 +926,7 @@ class TemperamentWidget { divAppend.style.height = "32px"; divAppend.style.marginTop = "40px"; divAppend.style.overflow = "auto"; - divAppend.style.cursor = "pointer"; + divAppend.style.cursor = "32px"; equalEdit.append(divAppend); const divAppend1 = docById("preview"); @@ -934,6 +934,7 @@ class TemperamentWidget { divAppend1.style.marginLeft = "3px"; divAppend1.style.backgroundColor = platformColor.selectorBackground; divAppend1.style.width = "215px"; + divAppend1.style.lineHeight = "30px"; divAppend1.style.cursor = "pointer"; const divAppend2 = docById("done_"); @@ -941,6 +942,7 @@ class TemperamentWidget { divAppend2.style.marginRight = "3px"; divAppend2.style.backgroundColor = platformColor.selectorBackground; divAppend2.style.width = "205px"; + divAppend2.style.lineHeight = "30px"; divAppend2.style.cursor = "pointer"; } @@ -1112,18 +1114,23 @@ class TemperamentWidget { divAppend.style.height = "32px"; divAppend.style.marginTop = "40px"; divAppend.style.overflow = "auto"; + divAppend.style.lineHeight = "32px"; ratioEdit.append(divAppend); const divAppend1 = docById("preview"); divAppend1.style.height = "30px"; divAppend1.style.marginLeft = "3px"; divAppend1.style.backgroundColor = platformColor.selectorBackground; + divAppend1.style.cursor = "pointer"; + divAppend1.style.lineHeight = "30px"; divAppend1.style.width = "215px"; const divAppend2 = docById("done_"); divAppend2.style.height = "30px"; divAppend2.style.marginRight = "3px"; divAppend2.style.backgroundColor = platformColor.selectorBackground; + divAppend2.style.cursor = "pointer"; + divAppend2.style.lineHeight = "30px"; divAppend2.style.width = "205px"; };