Skip to content

Commit

Permalink
Minor css fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iamBiB committed Oct 16, 2020
1 parent 7a948e8 commit 2916ebf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions htc-flipclock-weather.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ weatherDefaults['imagesPath'] = weatherDefaults.widgetPath + 'themes/' + weather
weatherDefaults['clockImagesPath'] = weatherDefaults.imagesPath + 'clock/'
weatherDefaults['weatherImagesPath'] = weatherDefaults.imagesPath + 'weather/' + weatherDefaults.theme['weather_icon_set'] + '/'

const htcVersion = "1.2.0";
const htcVersion = "1.2.1";


const weatherIconsDay = {
Expand Down Expand Up @@ -229,7 +229,7 @@ class HtcWeather extends LitElement {
const container = document.createElement('div');
container.id = 'htc-weather-card-container';
// container.onclick = this._handleClick(this._config.entity)
container.style = `height: ${container_size};background:url(${this._config.imagesPath}background.png);`
container.style = `height: ${container_size};`
card.appendChild(container);

const htc_clock = document.createElement('div')
Expand Down
4 changes: 2 additions & 2 deletions themes.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ export const themes = {
css: `#htc-weather-card-container {
width:440px;
height:448px;
background-size:50% 40px!important;
background-repeat:no-repeat;
background-repeat:no-repeat!important;
position:relative;
overflow:hidden;
font-family:Arial, Verdana, Tahoma, Helvetica, sans-serif;
margin: auto;
background: url("../local/custom_ui/htc-weather/themes/default/background.png") 50% 40px no-repeat;
}
#htc-weather-card-container p {
Expand Down

0 comments on commit 2916ebf

Please sign in to comment.