adds the content of the news to the dashboard items and makes them scrollable through css classes

This commit is contained in:
SimonGschnell
2024-06-25 14:18:11 +02:00
parent 27287bd07a
commit f4176ebcda
4 changed files with 57 additions and 6 deletions
+2
View File
@@ -1,4 +1,6 @@
@import './calendar.css';
@import './dashboard/news.css';
.empty-tile-hover {
height: 100%;
width: 100%;
+24
View File
@@ -0,0 +1,24 @@
/* .widgets-news .card-header {
flex-direction: column;
align-items: flex-start !important;
} */
:root{
--news-widget-height: 1;
}
.widgets-news .news-content > div,
.widgets-news .news-content .row:nth-child(1),
.widgets-news .news-content .news-list,
.widgets-news .news-content .news-list-item,
.widgets-news .news-content .card-body
{
height: 100%;
}
.widgets-news .card-body{
/*max-height: calc(var(--news-widget-height)*var(--fhc-dg-row-height)); */
overflow:scroll;
}