From cfd64c42e6fd3c6fbcd59f5d20fbc52289bdf707 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vikt=C3=B3ria=20Brezinov=C3=A1?= <52294703+vikibrezinova@users.noreply.github.com> Date: Sat, 9 Dec 2023 13:28:06 +0100 Subject: [PATCH] Podfarbenie celeho riadka vo vysledkovke (#272) chane style of resultsRow --- src/components/Results/ResultsRow.module.scss | 6 ++--- src/components/Results/ResultsRow.tsx | 24 ++++++++++++------- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/src/components/Results/ResultsRow.module.scss b/src/components/Results/ResultsRow.module.scss index 469402c3..e89c86da 100644 --- a/src/components/Results/ResultsRow.module.scss +++ b/src/components/Results/ResultsRow.module.scss @@ -2,10 +2,6 @@ display: contents; } -.rowWrapper > div { - padding: 0px 10px; -} - .rowWrapper:hover > div { background-color: #000; color: #fff; @@ -21,6 +17,7 @@ .nameAndSchool { display: grid; grid-template-rows: 2fr 1fr; + padding: 0px 10px; } .name { @@ -48,6 +45,7 @@ justify-content: center; // border: 1px solid red; grid-template-rows: max-content max-content; + padding: 0px 10px; > div { // border: 1px solid red; diff --git a/src/components/Results/ResultsRow.tsx b/src/components/Results/ResultsRow.tsx index e8eafd8f..9f8d7a26 100644 --- a/src/components/Results/ResultsRow.tsx +++ b/src/components/Results/ResultsRow.tsx @@ -40,9 +40,11 @@ export const ResultsRow: FC<{result: Result}> = ({result}) => { return (