From 8539e42589680512ca54a5e72896b36c2ada83e6 Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Thu, 18 Nov 2021 17:29:00 +0300 Subject: [PATCH] Make Homepage and Searchbar RTL-compatible (#427) * Fix homepage search form style for rtl * Fix search bar styles for rtl * Align ScrollButton to the end of the page * Adjust SearchGridForm and SaferBrowsing * Make Homepage RTL-compatible (#425) * Remove all styling to make the component RTL-compatible * Change `.hero-search__form` and `.hero-search__control` to Tailwind * Remove redundant CSS * Fix rounded-corners on input and button * Center text inside the legend Co-authored-by: Olga Bulat * Apply code review suggestions Co-authored-by: Dhruv Bhanushali --- src/components/HeroSection.vue | 45 ++++-------------- src/components/HomeLicenseFilter.vue | 21 +-------- src/components/SaferBrowsing.vue | 24 +++------- src/components/ScrollButton.vue | 2 +- src/components/SearchGridForm.vue | 46 ++++++++----------- src/styles/form/shared.sass | 1 - src/styles/form/tools.sass | 27 ----------- .../components/search-grid-filter.spec.js | 5 +- 8 files changed, 38 insertions(+), 133 deletions(-) diff --git a/src/components/HeroSection.vue b/src/components/HeroSection.vue index fec435caaa..f670384eae 100644 --- a/src/components/HeroSection.vue +++ b/src/components/HeroSection.vue @@ -1,7 +1,7 @@