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

Appearance settings

Commit e0df5c3

Browse filesBrowse files
bug #52979 [WebProfilerBundle] Fix "Copy as cURL" dark style (HypeMC)
This PR was merged into the 6.4 branch. Discussion ---------- [WebProfilerBundle] Fix "Copy as cURL" dark style | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix #52937 (comment) | License | MIT Followup to #52937, addresses `@javiereguiluz`'s comment. The button no longer changes color when using the dark theme: ![dark](https://github.com/symfony/symfony/assets/2445045/dc1dc267-a541-4ab7-8be9-db152d48dc12) Nothing changed when using the light theme: ![light](https://github.com/symfony/symfony/assets/2445045/13a60002-d02e-42e9-8e08-e967bae4ef6e) Commits ------- e4f47f2 [WebProfilerBundle] Fix "Copy as cURL" dark style
2 parents 072db6b + e4f47f2 commit e0df5c3
Copy full SHA for e0df5c3

File tree

1 file changed

+0
-2
lines changed
Filter options

1 file changed

+0
-2
lines changed

‎src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base_js.html.twig

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base_js.html.twig
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,10 @@
186186
187187
copyToClipboardElement.textContent = `✅ Copied!`;
188188
copyToClipboardElement.disabled = true;
189-
copyToClipboardElement.classList.add('status-success');
190189
191190
setTimeout(() => {
192191
copyToClipboardElement.textContent = oldContent;
193192
copyToClipboardElement.disabled = false;
194-
copyToClipboardElement.classList.remove('status-success');
195193
}, 7000);
196194
});
197195
});

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.