Merge branch '151-der-text-ist-teilweise-nicht-mehr-zu-sehen-im-erstellmodus' into 'master'
Resolve "Der Text ist teilweise nicht mehr zu sehen!!! Im Erstellmodus!" Closes #151 See merge request enrichment-2024/qivip!107
This commit is contained in:
@@ -10,10 +10,11 @@ class QuizForm(forms.ModelForm):
|
|||||||
super(QuizForm, self).__init__(*args, **kwargs)
|
super(QuizForm, self).__init__(*args, **kwargs)
|
||||||
for field in self.fields.values():
|
for field in self.fields.values():
|
||||||
field.widget.attrs.update({
|
field.widget.attrs.update({
|
||||||
'class': 'dark:bg-[#2a2f3a]! dark:text-white'
|
'class': 'dark:bg-[#2a2f3a]! dark:text-white!'
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class QuestionForm(forms.ModelForm):
|
class QuestionForm(forms.ModelForm):
|
||||||
class Meta:
|
class Meta:
|
||||||
model = QivipQuestion
|
model = QivipQuestion
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
qp-container {
|
qp-container {
|
||||||
@apply max-w-xl w-full mx-auto;
|
@apply max-w-xl w-full mx-auto;
|
||||||
}
|
}
|
||||||
|
.dark-form label {
|
||||||
|
@apply dark:text-white!;
|
||||||
|
}
|
||||||
|
|
||||||
nav div ul.qp-nav-list li {
|
nav div ul.qp-nav-list li {
|
||||||
@apply text-white hover:scale-110 hover:border-b-2 hover:border-white transition duration-200;
|
@apply text-white hover:scale-110 hover:border-b-2 hover:border-white transition duration-200;
|
||||||
|
|||||||
@@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<style>
|
|
||||||
.dark label {
|
|
||||||
color: white!important;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<div class="dark input-group border-blue-600 border-2 rounded-xl shadow-md mt-12 dark:text-white! dark:bg-transparent!">
|
<div class="dark input-group border-blue-600 border-2 rounded-xl shadow-md mt-12 dark:text-white! dark:bg-transparent!">
|
||||||
<form method="post" enctype="multipart/form-data">
|
<form method="post" enctype="multipart/form-data" class="dark-form ">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{{ form.as_p }}
|
{{ form.as_p }}
|
||||||
|
|
||||||
|
|||||||
@@ -11,3 +11,4 @@ python-dotenv # Production server safety
|
|||||||
qrcode~=7.4.2
|
qrcode~=7.4.2
|
||||||
reportlab~=4.2.0
|
reportlab~=4.2.0
|
||||||
pip-licenses ~= 5.0.0
|
pip-licenses ~= 5.0.0
|
||||||
|
requests
|
||||||
Reference in New Issue
Block a user