Hide details pane + other UI improvements
Nextcloud News 25.0.0-alpha+ improvements by ManuelSailer
Details
AuthorManuelSailer
LicenseNo License
CategoryNextcloud News
Created
Updated
Size1.1 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-alpha+ improvements
@namespace github.com/openstyles/stylus
@version 1.0.0
@description Hide details pane + other UI improvements
@author Manuel Sailer
==/UserStyle== */
@-moz-document regexp("https?://.*/index\\.php/apps/news/.*") {
/* Hide details pane and splitter and expand list pane to full width */
.splitpanes__pane-details,
.splitpanes__splitter {
display: none;
}
.splitpanes__pane-list {
width: 100% !important;
}
/* Align icon and buttons top */
.feed-item-row .link-container,
.feed-item-row .button-container {
align-self: start;
}
/* Expand main container to keep buttons at the right even in case of short intro texts */
.feed-item-row .main-container {
flex-grow: 1;
}
/* 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;
}
}