diff --git a/README.md b/README.md index 6c6c9e9..1ededb4 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,6 @@ Szkielet komponentu Joomla 6 do gromadzenia pytań testowych. ## Instalacja -W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.8.2). +W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.8.3). Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**. diff --git a/administrator/components/com_testquestions/sql/updates/mysql/1.8.3.sql b/administrator/components/com_testquestions/sql/updates/mysql/1.8.3.sql new file mode 100644 index 0000000..bb639ae --- /dev/null +++ b/administrator/components/com_testquestions/sql/updates/mysql/1.8.3.sql @@ -0,0 +1 @@ +-- No database changes required for version 1.8.3. diff --git a/com_testquestions.xml b/com_testquestions.xml index 5bcbe31..42b62e3 100644 --- a/com_testquestions.xml +++ b/com_testquestions.xml @@ -4,7 +4,7 @@ 2026-10-14 Komponent GNU General Public License version 2 or later - 1.8.2 + 1.8.3 COM_TESTQUESTIONS_DESCRIPTION com_testquestions Komponent\Component\Testquestions diff --git a/components/com_testquestions/media/egzamin.css b/components/com_testquestions/media/egzamin.css index a3d2df0..f73e366 100644 --- a/components/com_testquestions/media/egzamin.css +++ b/components/com_testquestions/media/egzamin.css @@ -71,7 +71,7 @@ .com-testquestions .question-header { display: flex; align-items: flex-start; - gap: .5rem; + gap: .25rem; } .com-testquestions .question-number { @@ -145,10 +145,22 @@ } .com-testquestions .answer-list label { - display: block; + display: flex; + align-items: flex-start; + gap: .25rem; cursor: pointer; } +.com-testquestions .answer-list label input { + flex: 0 0 auto; + margin-top: .25rem; +} + +.com-testquestions .answer-text { + flex: 1 1 auto; + min-width: 0; +} + .com-testquestions select.egzamin { color: #4a86cf; padding: 5px; diff --git a/components/com_testquestions/tmpl/questions/default.php b/components/com_testquestions/tmpl/questions/default.php index aa3f32c..fd3b2c9 100644 --- a/components/com_testquestions/tmpl/questions/default.php +++ b/components/com_testquestions/tmpl/questions/default.php @@ -58,7 +58,8 @@ use Joomla\CMS\HTML\HTMLHelper;