[gnome-software/1284-gs-summary-tile-define-minimum-width-for-better-display] gs-summary-tile: Define minimum width for better display



commit fd2acca371bb69e06cad1fec86282c4143967981
Author: Milan Crha <mcrha redhat com>
Date:   Tue Jun 22 19:21:20 2021 +0200

    gs-summary-tile: Define minimum width for better display
    
    Without it the text ellipsizes too early, make it almost unreadable.
    
    Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1284

 src/gtk-style-hc.css | 5 +++++
 src/gtk-style.css    | 1 +
 2 files changed, 6 insertions(+)
---
diff --git a/src/gtk-style-hc.css b/src/gtk-style-hc.css
index 95c773fec..b0a85d3c0 100644
--- a/src/gtk-style-hc.css
+++ b/src/gtk-style-hc.css
@@ -81,6 +81,11 @@ screenshot-carousel button {
        padding: 2px 10px;
 }
 
+summary-tile {
+       border-radius: 6px;
+       min-width: 250px;
+}
+
 .view.tile {
        padding: 0;
        background-image: none;
diff --git a/src/gtk-style.css b/src/gtk-style.css
index ab1378007..2c455574f 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -250,6 +250,7 @@ screenshot-carousel button {
 
 summary-tile {
        border-radius: 6px;
+       min-width: 250px;
 }
 
 .view.tile {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]