mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-test.git
synced 2025-02-23 09:32:47 +00:00
Adjust new tab page for Russian text
This commit is contained in:
parent
44c6624c18
commit
2162f3096f
2 changed files with 48 additions and 6 deletions
41
0005-Adjust-sizes-in-new-tab-page-for-Russian-text.patch
Normal file
41
0005-Adjust-sizes-in-new-tab-page-for-Russian-text.patch
Normal file
|
@ -0,0 +1,41 @@
|
|||
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
|
||||
|
|
@ -81,7 +81,7 @@
|
|||
Summary: A fast web browser based on the Blink engine
|
||||
Name: chromium-browser-stable
|
||||
Version: 102.0.5005.61
|
||||
Release: 2
|
||||
Release: 3
|
||||
License: BSD, LGPL
|
||||
Group: Networking/WWW
|
||||
Url: https://www.chromium.org/Home
|
||||
|
@ -126,14 +126,15 @@ Patch647: ALT-allow-to-override-clang-through-env-variables.patch
|
|||
# XXX This patch is not enough to fully fix debuginfo and debugsource subpackages
|
||||
Patch648: fix-debugsource.patch
|
||||
# chrome://new-tab-page-third-party -> chrome://new-tab-page
|
||||
Patch650: 0001-Functional-new-tab-page-with-non-Google-search-engin.patch
|
||||
Patch651: 0002-Yandex-as-default-search-engine.patch
|
||||
Patch652: 0003-Remove-voice-search-button.patch
|
||||
Patch653: 0004-Hide-sync-with-Google.patch
|
||||
Patch651: 0001-Functional-new-tab-page-with-non-Google-search-engin.patch
|
||||
Patch652: 0002-Yandex-as-default-search-engine.patch
|
||||
Patch653: 0003-Remove-voice-search-button.patch
|
||||
Patch654: 0004-Hide-sync-with-Google.patch
|
||||
Patch655: 0005-Adjust-sizes-in-new-tab-page-for-Russian-text.patch
|
||||
# Block odd interaction with Google servers, probably including loading promo Google logos
|
||||
# (e.g. an LGBT-colored one, https://clck.ru/niFdJ)
|
||||
# https://github.com/Eloston/ungoogled-chromium/blob/master/patches/core/ungoogled-chromium/block-requests.patch
|
||||
Patch654: block-requests.patch
|
||||
Patch656: block-requests.patch
|
||||
|
||||
BuildRequires: bison
|
||||
BuildRequires: llvm15
|
||||
|
|
Loading…
Add table
Reference in a new issue