mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
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:
parent
51494cabc8
commit
c15148fc07
@ -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
|
||||
|
||||
|
@ -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";
|
||||
|
@ -1,5 +1,5 @@
|
||||
.clockCircle {
|
||||
margin: 0 auto;
|
||||
margin: 0;
|
||||
position: relative;
|
||||
border-radius: 50%;
|
||||
background-size: 100%;
|
||||
|
Loading…
x
Reference in New Issue
Block a user