Expand frontend question layout

This commit is contained in:
Wojtek
2026-10-15 13:01:37 +02:00
parent b3451728d9
commit 252348a07f
5 changed files with 41 additions and 5 deletions
+1 -1
View File
@@ -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.0).
W Joomla wybierz **System → Install → Install from Folder** i wskaż ten katalog. Manifestem instalacyjnym jest `com_testquestions.xml` (wersja 1.8.1).
Po instalacji komponent jest dostępny w panelu administratora jako **Pytania testowe**.
@@ -0,0 +1 @@
-- No database changes required for version 1.8.1.
+1 -1
View File
@@ -4,7 +4,7 @@
<creationDate>2026-10-14</creationDate>
<author>Komponent</author>
<license>GNU General Public License version 2 or later</license>
<version>1.8.0</version>
<version>1.8.1</version>
<description>COM_TESTQUESTIONS_DESCRIPTION</description>
<element>com_testquestions</element>
<namespace path="src">Komponent\Component\Testquestions</namespace>
+17 -2
View File
@@ -1,3 +1,16 @@
.com-testquestions {
width: 100%;
max-width: 100%;
box-sizing: border-box;
}
.com-testquestions .testquestion {
display: block;
width: 100%;
max-width: 100%;
box-sizing: border-box;
}
.com-testquestions .timer-container {
position: relative;
width: 120px;
@@ -41,7 +54,8 @@
margin: 25px 5px 11px;
border: 1px #dfe3e7 solid;
border-radius: .25rem;
width: 98%;
width: 100%;
box-sizing: border-box;
padding: 10px;
text-align: left;
color: white;
@@ -62,7 +76,8 @@
margin: 5px;
border: 1px #dfe3e7 solid;
border-radius: .25rem;
width: 98%;
width: 100%;
box-sizing: border-box;
padding: 10px;
text-align: left;
box-shadow: 2px 2px 2px rgba(0, 0, 0, .2);
+20
View File
@@ -127,3 +127,23 @@ div.odpup
margin-right:10px;
}
.com-testquestions {
width: 100%;
max-width: 100%;
box-sizing: border-box;
}
.com-testquestions .testquestion {
display: block;
width: 100%;
max-width: 100%;
box-sizing: border-box;
}
.com-testquestions .pyt,
.com-testquestions .odp,
.com-testquestions .odpp,
.com-testquestions .odpu,
.com-testquestions .odpup {
box-sizing: border-box;
}