From 0b8ae828d55a52b103e3c1d03c9d2bd04443572d Mon Sep 17 00:00:00 2001 From: stevekaplan123 Date: Wed, 26 Jun 2024 11:38:25 +0300 Subject: [PATCH] chore: fix hero banner css --- static/css/s2.css | 7 +------ static/js/Sheets/SheetsHomePage.jsx | 1 + 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/static/css/s2.css b/static/css/s2.css index e36183a453..833508e125 100644 --- a/static/css/s2.css +++ b/static/css/s2.css @@ -10042,21 +10042,16 @@ span.purim-emoji img{ text-shadow: 0 0 10px rgba(0, 0, 0, 0.7); font-family: Source Serif Pro, serif; font-weight: 400; -} -.interface-hebrew .overlayTextOnSheetsHero #title, .interface-hebrew .overlayTextOnSheetsHero #message { - right: 10%; - left: revert; + margin-inline-start: 10%; } .overlayTextOnSheetsHero #title { position: absolute; - left: 10%; font-size: 50px; top: 145px; line-height: 62.65px; } .overlayTextOnSheetsHero #message { position: absolute; - left: 10%; font-family: Source Sans Pro, serif; font-size: 24px; line-height: 18px; diff --git a/static/js/Sheets/SheetsHomePage.jsx b/static/js/Sheets/SheetsHomePage.jsx index 14a88c2b1e..75afb3a02f 100644 --- a/static/js/Sheets/SheetsHomePage.jsx +++ b/static/js/Sheets/SheetsHomePage.jsx @@ -2,6 +2,7 @@ import React from 'react'; import {InterfaceText, ResponsiveNBox} from "../Misc"; import {NavSidebar} from "../NavSidebar"; import Footer from "../Footer"; + const SheetsHeroBanner = ({title, message, videoOptions, posterImg}) => { /* `title` and `message` are shown on top of the video. `posterImg` is shown while video is downloaded,