mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-test.git
synced 2025-02-23 17:42:45 +00:00
41 lines
1.4 KiB
Diff
41 lines
1.4 KiB
Diff
From f5308bcc20c6364e0642ce5afd320fc6f009fc41 Mon Sep 17 00:00:00 2001
|
|
From: Mikhail Novosyolov <m.novosyolov@rosalinux.ru>
|
|
Date: Mon, 6 Jun 2022 11:54:20 +0300
|
|
Subject: [PATCH] Adjust sizes in new tab page for Russian text
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Avoid cutting "Добавить ярлык" ("Add shortcut") to "Добавить яр...".
|
|
Keep enough distance between items after adjusting that size.
|
|
|
|
Note: it is a hack. Text size depends on font and size.
|
|
---
|
|
.../resources/cr_components/most_visited/most_visited.html | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/ui/webui/resources/cr_components/most_visited/most_visited.html b/ui/webui/resources/cr_components/most_visited/most_visited.html
|
|
index fa00ea2729..fc06516c2e 100644
|
|
--- a/ui/webui/resources/cr_components/most_visited/most_visited.html
|
|
+++ b/ui/webui/resources/cr_components/most_visited/most_visited.html
|
|
@@ -5,7 +5,7 @@
|
|
--icon-size: 48px;
|
|
--tile-background-color: rgb(229, 231, 232);
|
|
--tile-hover-color: rgba(var(--google-grey-900-rgb), .1);
|
|
- --tile-size: 112px;
|
|
+ --tile-size: 120px;
|
|
--title-height: 32px;
|
|
}
|
|
|
|
@@ -135,7 +135,7 @@
|
|
line-height: calc(var(--title-height) / 2);
|
|
margin-top: 6px;
|
|
padding: 2px 8px;
|
|
- width: 88px;
|
|
+ width: 110px;
|
|
}
|
|
|
|
:host([use-title-pill_]) .tile-title {
|
|
--
|
|
2.35.2
|
|
|