Show day / date / month on different lines #1190
Replies: 4 comments 4 replies
-
In the event mode screenshot you show the weekday (Wed) and the date (Dec 28) on two lines. Is that possible with card-mod? |
Beta Was this translation helpful? Give feedback.
-
I achieved this with card-mod by setting a bit larger min-width of the event-date-week-day so that it breaks the line and puts the day+month below. |
Beta Was this translation helpful? Give feedback.
-
This works great, however now the column ".event-left" looks very wide. How do I change the width of this left column? I tried "width" and "min-width", it didn't seem to work. |
Beta Was this translation helpful? Give feedback.
-
Did anyone ever get this working without manipulating the day min-width? I wanted some extra spacing between events, this is what I currently use but agree that I would much rather have: `type: custom:atomic-calendar-revive
|
Beta Was this translation helpful? Give feedback.
-
If you want to show the left hand day / date / month on separate lines, use the below code:
Before:
![image](https://private-user-images.githubusercontent.com/159166/271924450-7faa357d-a107-4bee-b191-e7b8419d5bef.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NDA5NTAsIm5iZiI6MTczODk0MDY1MCwicGF0aCI6Ii8xNTkxNjYvMjcxOTI0NDUwLTdmYWEzNTdkLWExMDctNGJlZS1iMTkxLWU3Yjg0MTlkNWJlZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwN1QxNTA0MTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04MTc2NGIyNTAyZTYyYWVmYTY4OGVmNGUxMzIwMTg3ZmNmOTYyMjFlMmVlNWE5ZTkzZWQ2NGQzYWQ2OTViMjVmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.jxOGtatyEhtVj-eBhErHeu_J998_zfzFzerg5RQlQ1E)
After:
![image](https://private-user-images.githubusercontent.com/159166/271923644-20aec95a-8ea8-447b-9ee5-dabeb2f9a227.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NDA5NTAsIm5iZiI6MTczODk0MDY1MCwicGF0aCI6Ii8xNTkxNjYvMjcxOTIzNjQ0LTIwYWVjOTVhLThlYTgtNDQ3Yi05ZWU1LWRhYmViMmY5YTIyNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwN1QxNTA0MTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xNmQzYWNhOWRiZGMyMThkYTQxMDlkYWE2NTU5NGY0YTYxMjAxODgyY2I2MDIzYmFlNzBlYzZjODlkMDY4NmIzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.5IWgPFTWEBmhNGvJnruq26hVMs0Jdh3dXzjWMXAQ0ek)
Beta Was this translation helpful? Give feedback.
All reactions