Issue with date aligment in clock.js

In reference to issue #927. Made changes to clock.js and clock_styles.css to prevent aligment problem when displaying analog clock and large calendar entries
This commit is contained in:
Unknown
2017-06-26 14:33:18 +02:00
parent 51494cabc8
commit c15148fc07
3 changed files with 2 additions and 2 deletions

View File

@@ -180,7 +180,6 @@ Module.register("clock",{
wrapper.appendChild(weekWrapper);
} else if (this.config.displayType === "analog") {
// Display only an analog clock
dateWrapper.style.textAlign = "center";
if (this.config.showWeek) {
weekWrapper.style.paddingBottom = "15px";