Skip to content

Commit

Permalink
Centrally Aligned the button-texts
Browse files Browse the repository at this point in the history
  • Loading branch information
daksh4469 authored and meganindya committed Jan 28, 2021
1 parent b7cf70b commit f0beaa4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion js/widgets/temperament.js
Original file line number Diff line number Diff line change
Expand Up @@ -926,21 +926,23 @@ 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");
divAppend1.style.height = "30px";
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_");
divAppend2.style.height = "30px";
divAppend2.style.marginRight = "3px";
divAppend2.style.backgroundColor = platformColor.selectorBackground;
divAppend2.style.width = "205px";
divAppend2.style.lineHeight = "30px";
divAppend2.style.cursor = "pointer";
}

Expand Down Expand Up @@ -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";
};

Expand Down

0 comments on commit f0beaa4

Please sign in to comment.