From 01dc6144ac19478b65d29726140d2a8203dacfc5 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Tue, 5 Mar 2024 13:19:33 -0800 Subject: [PATCH] Replace the cloud tab icon with the non-sharp version (#381) --- src/app/common/elements/tabicon.tsx | 2 ++ src/app/workspace/screen/tabs.less | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/common/elements/tabicon.tsx b/src/app/common/elements/tabicon.tsx index 96b0aaac..66a5c5e7 100644 --- a/src/app/common/elements/tabicon.tsx +++ b/src/app/common/elements/tabicon.tsx @@ -11,6 +11,8 @@ class TabIcon extends React.Component<{ icon: string; color: string }> { let iconClass = ""; if (icon === "default" || icon === "square") { iconClass = "fa-solid fa-square fa-fw"; + } else if (icon === "cloud") { + iconClass = "fa-solid fa-cloud fa-fw"; } else { iconClass = `fa-sharp fa-solid fa-${icon} fa-fw`; } diff --git a/src/app/workspace/screen/tabs.less b/src/app/workspace/screen/tabs.less index 2f8b7525..708da99d 100644 --- a/src/app/workspace/screen/tabs.less +++ b/src/app/workspace/screen/tabs.less @@ -106,7 +106,6 @@ } &.is-active { - border-top: none; opacity: 1; font-weight: var(--screentabs-selected-font-weight); border-top: 2px solid var(--tab-color);