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

@ -37,6 +37,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Fix double message about port when server is starting
- Corrected Swedish translations for TODAY/TOMORROW/DAYAFTERTOMORROW.
- Removed unused import from js/electron.js
- Fixed alignment of analog clock when a large calendar is displayed in the same side bar
## [2.1.1] - 2017-04-01

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

View File

@ -1,5 +1,5 @@
.clockCircle {
margin: 0 auto;
margin: 0;
position: relative;
border-radius: 50%;
background-size: 100%;