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 committed Jan 27, 2021
1 parent ae29949 commit 5d9a01d
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 @@ -720,21 +720,23 @@ function TemperamentWidget() {
divAppend.style.height = "32px";
divAppend.style.marginTop = "40px";
divAppend.style.overflow = "auto";
divAppend.style.cursor = "pointer";
divAppend.style.cursor = "32px";
equalEdit.append(divAppend);

let 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";

let 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 @@ -922,18 +924,23 @@ function TemperamentWidget() {
divAppend.style.height = "32px";
divAppend.style.marginTop = "40px";
divAppend.style.overflow = "auto";
divAppend.style.lineHeight = "32px";
ratioEdit.append(divAppend);

let 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";

let 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 5d9a01d

Please sign in to comment.