[libadwaita] status-page: Reduce the margins when compact
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita] status-page: Reduce the margins when compact
- Date: Thu, 7 Oct 2021 07:12:26 +0000 (UTC)
commit 0563b91e508c05a0d9700383aab8e73cced756b2
Author: Adrien Plazas <kekun plazas laposte net>
Date: Wed Oct 6 16:20:31 2021 +0200
status-page: Reduce the margins when compact
This keeps the status page a bit more balanced.
src/stylesheet/widgets/_misc.scss | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
---
diff --git a/src/stylesheet/widgets/_misc.scss b/src/stylesheet/widgets/_misc.scss
index dfa7c4ce..b373fd43 100644
--- a/src/stylesheet/widgets/_misc.scss
+++ b/src/stylesheet/widgets/_misc.scss
@@ -100,13 +100,22 @@ statuspage {
}
}
- &.compact > scrolledwindow > viewport > box > clamp > box {
- > .icon {
- -gtk-icon-size: 96px;
- }
+ &.compact > scrolledwindow > viewport > box {
+ margin: 24px 12px;
+ border-spacing: 24px;
- > .title {
- font-size: 18pt;
+ > clamp > box {
+ > .icon {
+ -gtk-icon-size: 96px;
+
+ &:not(:last-child) {
+ margin-bottom: 12px;
+ }
+ }
+
+ > .title {
+ font-size: 18pt;
+ }
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]