Skip to content

Commit 98aef91

Browse files
mrubenscte
authored andcommitted
Fix logo centering (#4945)
1 parent 8697f03 commit 98aef91

File tree

14 files changed

+27
-11
lines changed

14 files changed

+27
-11
lines changed

webview-ui/src/components/welcome/RooHero.tsx

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,20 @@ const RooHero = () => {
77
})
88

99
return (
10-
<div
11-
style={{
12-
backgroundColor: "var(--vscode-foreground)",
13-
WebkitMaskImage: `url('${imagesBaseUri}/roo-logo.svg')`,
14-
WebkitMaskRepeat: "no-repeat",
15-
WebkitMaskSize: "contain",
16-
maskImage: `url('${imagesBaseUri}/roo-logo.svg')`,
17-
maskRepeat: "no-repeat",
18-
maskSize: "contain",
19-
}}>
20-
<img src={imagesBaseUri + "/roo-logo.svg"} alt="Roo logo" className="h-8 opacity-0" />
10+
<div className="flex flex-col items-center justify-center pb-4 forced-color-adjust-none">
11+
<div
12+
style={{
13+
backgroundColor: "var(--vscode-foreground)",
14+
WebkitMaskImage: `url('${imagesBaseUri}/roo-logo.svg')`,
15+
WebkitMaskRepeat: "no-repeat",
16+
WebkitMaskSize: "contain",
17+
maskImage: `url('${imagesBaseUri}/roo-logo.svg')`,
18+
maskRepeat: "no-repeat",
19+
maskSize: "contain",
20+
}}
21+
className="mx-auto">
22+
<img src={imagesBaseUri + "/roo-logo.svg"} alt="Roo logo" className="h-8 opacity-0" />
23+
</div>
2124
</div>
2225
)
2326
}

webview-ui/src/i18n/locales/en/history.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"recentTasks": "Recent Tasks",
23
"history": "History",
34
"exitSelectionMode": "Exit Selection Mode",
45
"enterSelectionMode": "Enter Selection Mode",

webview-ui/src/i18n/locales/hi/history.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"recentTasks": "हाल के कार्य",
23
"history": "इतिहास",
34
"exitSelectionMode": "चयन मोड से बाहर निकलें",
45
"enterSelectionMode": "चयन मोड में प्रवेश करें",

webview-ui/src/i18n/locales/it/history.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"recentTasks": "Attività recenti",
23
"history": "Cronologia",
34
"exitSelectionMode": "Esci dalla modalità selezione",
45
"enterSelectionMode": "Entra in modalità selezione",

webview-ui/src/i18n/locales/ja/history.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"recentTasks": "最近のタスク",
23
"history": "履歴",
34
"exitSelectionMode": "選択モードを終了",
45
"enterSelectionMode": "選択モードに入る",

webview-ui/src/i18n/locales/ko/history.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"recentTasks": "최근 작업",
23
"history": "기록",
34
"exitSelectionMode": "선택 모드 종료",
45
"enterSelectionMode": "선택 모드 진입",

webview-ui/src/i18n/locales/nl/history.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"recentTasks": "Recente taken",
23
"history": "Geschiedenis",
34
"exitSelectionMode": "Selectiemodus verlaten",
45
"enterSelectionMode": "Selectiemodus starten",

webview-ui/src/i18n/locales/pl/history.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"recentTasks": "Ostatnie zadania",
23
"history": "Historia",
34
"exitSelectionMode": "Wyłącz tryb wyboru",
45
"enterSelectionMode": "Włącz tryb wyboru",

webview-ui/src/i18n/locales/pt-BR/history.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"recentTasks": "Tarefas recentes",
23
"history": "Histórico",
34
"exitSelectionMode": "Sair do modo de seleção",
45
"enterSelectionMode": "Entrar no modo de seleção",

webview-ui/src/i18n/locales/ru/history.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"recentTasks": "Недавние задачи",
23
"history": "История",
34
"exitSelectionMode": "Выйти из режима выбора",
45
"enterSelectionMode": "Войти в режим выбора",

0 commit comments

Comments
 (0)