Comments (3)
@AlfonsoHassio I found a couple tweaks using card_mod that make the card smaller and after months of using it, I have never seen anything be cut off:
type: custom:clock-weather-card
card_mod:
style: |
.card-content {
padding-top: 0px;
margin-top: -10px;
}
entity: weather.openweathermap
sun_entity: sun.sun
weather_icon_type: line
animated_icon: true
forecast_days: 5
locale: en
time_format: 24
date_pattern: PPP
hide_today_section: false
hide_forecast_section: false
The part that matters is:
card_mod:
style: |
.card-content {
padding-top: 0px;
margin-top: -10px;
}
...as it removes the padding and it pulls the margin up by 10 pixels. With how my card is currently configured, I have never seen these tweaks cause trouble but can't say it will be the same for all variations. It doesn't eliminate a lot but it made a noticeable difference on my dashboard.
from clock-weather-card.
seems something in a recent HA update made it do that, it was much smaller not long ago.
from clock-weather-card.
Im interested on this aswell. Great card but at the moment takes too much space, its really difficult to fit rest of the cards in my dashboard.
from clock-weather-card.
Related Issues (20)
- Chinese display issue
- Last update causes animated_icon true cause high cpu load HOT 1
- Feature request: Ability to show temperature with 1 decimal place HOT 1
- Feature request: Be able to show "feels like" temperature from second temp sensor
- Add the possibility to customize text/icons size. HOT 2
- Allow hiding duplicate temperature value in hourly forecast view
- Use SVG for non-animated icons HOT 4
- Don't round forecast temperature
- Cs and Sk translation feeling temperature or apparent temperature HOT 2
- Forecast rows missing after update. HOT 6
- sv.json
- Request: Add a weather summary section
- Four digit time breaks out of container on mobile devices HOT 1
- Unable to use on levono smart clock HOT 2
- Issue on installation HOT 2
- Animated icon on forecast section ? HOT 1
- Weather picture is getting too big after upgrading from 2.5.0 to 2.6.0
- Background image/picture HOT 3
- Card doesn't display on Lenovo Smart Clock HOT 3
- 12 Hour Time Format not working HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clock-weather-card.