[gnome-software: 1/2] Ensure mobile width of GsCategoryTile
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 1/2] Ensure mobile width of GsCategoryTile
- Date: Mon, 27 Jun 2022 13:08:30 +0000 (UTC)
commit 56cd9dcadc69a6662017bf1f5a93faf35d482524
Author: fina <code felinira net>
Date: Mon Jun 27 13:27:55 2022 +0200
Ensure mobile width of GsCategoryTile
src/style.css | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/style.css b/src/style.css
index 7ba232230..0df4ba73e 100644
--- a/src/style.css
+++ b/src/style.css
@@ -53,9 +53,11 @@ clamp.large .category-tile:not(.category-tile-iconless) {
}
.category-tile.category-tile-iconless {
+ /* We have to remove the padding: 160px - 2*15px = 130px */
+ min-width: 130px;
+ padding: 10px 15px;
font-size: 105%;
font-weight: normal;
- padding: 10px 15px;
}
/* Styling for specific category buttons. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]