Replace some gt- classes with tw- (#29570)

Replace 18 `gt-` prefixes with `tw-` with perl replacement. I manually
checked them all with `rg` afterwards.
This commit is contained in:
silverwind 2024-03-04 04:33:20 +01:00 committed by GitHub
parent fe6792dff3
commit a2e90014ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
41 changed files with 50 additions and 70 deletions

View file

@ -234,7 +234,7 @@ export function initDropzone(el) {
// Create a "Copy Link" element, to conveniently copy the image
// or file link as Markdown to the clipboard
const copyLinkElement = document.createElement('div');
copyLinkElement.className = 'gt-text-center';
copyLinkElement.className = 'tw-text-center';
// The a element has a hardcoded cursor: pointer because the default is overridden by .dropzone
copyLinkElement.innerHTML = `<a href="#" style="cursor: pointer;">${svg('octicon-copy', 14, 'copy link')} Copy link</a>`;
copyLinkElement.addEventListener('click', async (e) => {