UI improvements
Nextcloud News 25.0.0 improvements by ManuelSailer
Details
AuthorManuelSailer
LicenseNo License
CategoryNextcloud News
Created
Updated
Size1.0 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name Nextcloud News 25.0.0 improvements
@namespace github.com/openstyles/stylus
@version 2.0.0
@description UI improvements
@author Manuel Sailer
==/UserStyle== */
@-moz-document regexp("https?://.*/index\\.php/apps/news/.*") {
/* Align icon and buttons top */
.feed-item-row .link-container,
.feed-item-row .button-container {
align-self: start;
}
/* Fit intro container size to intro text length, but limit intro text to 3 lines */
.feed-item-row .intro-container {
height: inherit;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
display: -webkit-box;
}
/* Compact view */
.feed-item-row.compact {
padding: 10px !important;
}
.feed-item-row .main-container.compact {
display: block;
}
.feed-item-row .intro-container.compact {
height: inherit !important;
white-space: normal;
}
}