update(News Widget 1 spaltig): adds padding and updates colors of the time and content when hovered

This commit is contained in:
SimonGschnell
2025-07-22 13:50:34 +02:00
parent 9ddb9f46fd
commit 6c57c17eb5
3 changed files with 21 additions and 7 deletions
+17
View File
@@ -96,6 +96,11 @@
}
}
.widgets-news{
padding: 0 .5rem;
overflow-y: auto;
}
.widgets-news img
{
max-width: 100%;
@@ -165,10 +170,22 @@
.fhc-news-items-lg .row:hover{
background-color: var(--fhc-primary);
color: var(--fhc-light) !important;
cursor: pointer;
}
.fhc-news-items-lg .row .news-truncate span{
color: var(--fhc-primary);
cursor: pointer;
}
.fhc-news-items-lg .row:hover .news-truncate span {
color: var(--fhc-light);
cursor: pointer;
}
.news-truncate {
display: -webkit-box;
-webkit-line-clamp: 2;