Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a132204

Browse files
authored
fix: Use consistent django colors for accent object tools (#464)
* fix: Use consistent django colors for accent object tools * chore: Update tests for django CMS 5
1 parent 23f8f4e commit a132204

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎.github/workflows/test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115

116116
services:
117117
mysql:
118-
image: mysql:8.0
118+
image: mysql:8.4
119119
env:
120120
MYSQL_ALLOW_EMPTY_PASSWORD: yes
121121
MYSQL_DATABASE: djangocms_test

‎djangocms_versioning/static/djangocms_versioning/css/object-tools.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
.object-tools a.accent:hover,
55
.object-tools a.accent:active,
66
.object-tools a.accent:hover:active {
7-
background-color: color-mix(in srgb, var(--accent) 90%, var(--dca-black)) !important;
7+
background-color: color-mix(in srgb, var(--accent) 70%, var(--body-fg)) !important;
88
}

‎tests/test_handlers.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def test_clear_placeholder(self):
7171

7272
with self.login_user_context(self.get_superuser()):
7373
response = self.client.post(endpoint, {"test": 0})
74-
self.assertEqual(response.status_code, 302)
74+
self.assertIn(response.status_code, (200, 302))
7575

7676
version = Version.objects.get(pk=version.pk)
7777
self.assertEqual(version.modified, dt)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /