[nautilus] grid-view: Improve drop feedback on grid view
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] grid-view: Improve drop feedback on grid view
- Date: Thu, 30 Jun 2022 17:41:23 +0000 (UTC)
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]