From 52a37974d5ac644f6b1e838fe8eb43938b5275f2 Mon Sep 17 00:00:00 2001 From: Yugay Vasiliy <31739813+Vas9ka@users.noreply.github.com> Date: Tue, 18 Jun 2024 12:40:08 +0200 Subject: [PATCH] * Wrapped css into class (#484) --- .../CuneiformConverterForm.sass | 31 ++-- .../CuneiformConverterForm.tsx | 4 +- .../CuneiformConverterForm.test.tsx.snap | 154 +++++++++--------- 3 files changed, 100 insertions(+), 89 deletions(-) diff --git a/src/chronology/ui/CuneiformConverter/CuneiformConverterForm.sass b/src/chronology/ui/CuneiformConverter/CuneiformConverterForm.sass index 28be0a913..7c17fb8f9 100644 --- a/src/chronology/ui/CuneiformConverter/CuneiformConverterForm.sass +++ b/src/chronology/ui/CuneiformConverter/CuneiformConverterForm.sass @@ -1,17 +1,24 @@ -textarea.form-control - font-size: 150% +.cuneiform-converter-form + textarea.form-control + font-size: 150% - &.assurbanipal - font-family: Assurbanipal, Junicode, serif + &.assurbanipal + font-family: Assurbanipal, Junicode, serif; + - &.esagil - font-family: 'Neo-Babylonian', Junicode, serif + &.esagil + font-family: 'Neo-Babylonian', Junicode, serif; + - &.santakku - font-family: 'Old-Babylonian Cursive', Junicode, serif + &.santakku + font-family: 'Old-Babylonian Cursive', Junicode, serif; + - &.santakkum - font-family: 'Old-Babylonian (Monumental)', Junicode, serif + &.santakkum + font-family: 'Old-Babylonian (Monumental)', Junicode, serif; + - &.ullikummia - font-family: 'Hittite', Junicode, serif + &.ullikummia + font-family: 'Hittite', Junicode, serif; + + diff --git a/src/chronology/ui/CuneiformConverter/CuneiformConverterForm.tsx b/src/chronology/ui/CuneiformConverter/CuneiformConverterForm.tsx index 4ab0c0112..dbb2121e8 100644 --- a/src/chronology/ui/CuneiformConverter/CuneiformConverterForm.tsx +++ b/src/chronology/ui/CuneiformConverter/CuneiformConverterForm.tsx @@ -62,7 +62,7 @@ function CuneiformConverterForm({ } return ( - <> +