[nautilus] grid-view: Improve drop feedback on grid view



commit 2c98abb55bae07d9617dba06e7eeef323a58cce2
Author: António Fernandes <antoniof gnome org>
Date:   Thu Jun 30 00:43:45 2022 +0100

    grid-view: Improve drop feedback on grid view
    
    The view cell widget doesn't fill the whole parent area, because there
    is a padding.
    
    Disable the parent's padding, add the padding back into the cell itself,
    and set matching rounded corners.

 src/resources/css/Adwaita.css | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css
index ee95de54f..af7e33ad7 100644
--- a/src/resources/css/Adwaita.css
+++ b/src/resources/css/Adwaita.css
@@ -155,7 +155,11 @@
 }
 
 .nautilus-grid-view gridview > child {
+  padding: 0px;
+}
+.nautilus-grid-view #NautilusViewCell {
   padding: 6px;
+  border-radius: 6px;
 }
 
 /* Column view */


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