Skip to content

Commit

Permalink
Merge pull request #90 from contao-themes-net/bugfix/c5/form-captcha
Browse files Browse the repository at this point in the history
Fix form captcha
  • Loading branch information
MDevster authored Apr 22, 2024
2 parents d46b9f1 + 273e8a8 commit f5cfada
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 50 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Types of changes
Security in case of vulnerabilities.
)

## [2.3.2](https://github.com/contao-themes-net/nature-theme-bundle/tree/2.3.2) – 2024-04-22

- [Fixed] Fix form captcha (delete custom `form_captcha template`)

## [2.3.1](https://github.com/contao-themes-net/nature-theme-bundle/tree/2.3.1) – 2024-02-26

- [Changed] Change templates to support CSP on WYSIWYG editors like TinyMCE
Expand Down
48 changes: 0 additions & 48 deletions contao/templates/forms/form_captcha.html5

This file was deleted.

2 changes: 1 addition & 1 deletion public/scss/color_schemes/nature_dark_mode.scss
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ $darkMode_input-focus-border-color: $grey-darker;
color: $darkMode_boxes-color;
}

.input, .textarea, .select select, .file-cta {
.input, .textarea, .select select, .file-cta, input.captcha {
background: $darkMode_boxes-background;
color: $darkMode_boxes-color;
border-color: $darkMode_input-border-color;
Expand Down
4 changes: 4 additions & 0 deletions public/scss/parts/modules.scss
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,10 @@ p.error {
}
}

input.captcha {
@extend .input;
}

/* Checkbox switch */

.checkbox-switch {
Expand Down
2 changes: 1 addition & 1 deletion src/Module/NatureThemeSetup.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

class NatureThemeSetup extends BackendModule
{
public const VERSION = '2.3.1';
public const VERSION = '2.3.2';

protected $strTemplate = 'be_naturetheme_setup';

Expand Down

0 comments on commit f5cfada

Please sign in to comment.