diff --git a/web/src/pages/IntroShowTodos.tsx b/web/src/pages/IntroShowTodos.tsx
index 151b656..d3d6fb0 100644
--- a/web/src/pages/IntroShowTodos.tsx
+++ b/web/src/pages/IntroShowTodos.tsx
@@ -40,7 +40,7 @@ const IntroShowTodos: React.FC = () => {
- {t("pages.demo.introShowTodos.welcomeToThe")}
{t("pages.demo.introShowTodos.selvDemo")}
+ {t("pages.demo.introShowTodos.welcomeToThe")}
{t("pages.demo.introShowTodos.selvDemo")}
Here is your to-do list for today:
diff --git a/web/src/styles/pages/demo.scss b/web/src/styles/pages/demo.scss
index e416a1a..ac2f934 100644
--- a/web/src/styles/pages/demo.scss
+++ b/web/src/styles/pages/demo.scss
@@ -78,12 +78,6 @@
}
h2 {
font-size: 32px;
-
- &.highlight {
- line-height: 6px;
- margin-top: 12px;
- border-bottom: 20px solid #B5F3D8;
- }
}
h4 {
font-size: 14px;
@@ -145,10 +139,17 @@
h2 {
&.highlight {
- border-bottom: 24px solid #B5F3D8;
- line-height: 6px;
- margin-top: 24px;
+ position: relative;
font-weight: 900;
+ &::after{
+ content: '';
+ position: absolute;
+ width: 100%;
+ left: 0;
+ bottom: -8px;
+ z-index: -1;
+ border-bottom: 24px solid #B5F3D8;
+ }
}
}