Skip to content

Commit

Permalink
CR changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonHowellSlavin committed Jan 18, 2024
1 parent 7e6c001 commit 59fe3af
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
4 changes: 2 additions & 2 deletions blocks/redirects-formatter/redirects-formatter.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ h1 {
margin: 20px;
width: fit-content;
padding-bottom: 10px;
border-bottom: 2px solid black;
border-bottom: 2px solid var(--text-color);
}

textarea {
Expand All @@ -25,7 +25,7 @@ button {
border: none;
height: 36px;
font-family: adobe-clean, sans-serif;
color: #FFF;
color: var(--color-white);
background: #FF1593;
font-size: 16px;
font-weight: 700;
Expand Down
6 changes: 2 additions & 4 deletions blocks/redirects-formatter/redirects-formatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ export default async function init(el) {
const redirectsContainer = createTag('section', { class: 'redirects-container' });

// Header
const header = createTag('h1');
header.innerText = 'Redirect Formatting Tool';
const header = createTag('h1', null, 'Redirect Formatting Tool');

// Error section
const errorSection = createTag('p', { class: 'error' });
Expand All @@ -117,8 +116,7 @@ export default async function init(el) {

// Text output Area
const outputAreaContainer = createTag('section', { class: 'output-container' });
const textAreaOutput = createTag('textarea', { class: 'redirects-text-area', id: 'redirects-output', name: 'redirects-output' });
textAreaOutput.setAttribute('readonly', 'true');
const textAreaOutput = createTag('textarea', { class: 'redirects-text-area', id: 'redirects-output', name: 'redirects-output', readonly: true });
const taoLabel = createTag('label', { class: 'io-label', for: 'redirects-output' });
taoLabel.innerText = 'Localized results appear here:';
const copyButton = createTag('button', { class: 'copy' });
Expand Down
3 changes: 1 addition & 2 deletions blocks/workfront-login/workfront-login.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,8 @@ export async function createSubdomainForm(createTag, replaceKey, config) {

/* c8 ignore next 14 */
export default async function init(el) {
const { createTag } = await import(`${getLibs()}/utils/utils.js`);
const { createTag, getConfig } = await import(`${getLibs()}/utils/utils.js`);
const { replaceKey } = await import(`${getLibs()}/features/placeholders.js`);
// eslint-disable-next-line no-undef
const config = getConfig();
const isProof = el.classList.contains('proof');

Expand Down

0 comments on commit 59fe3af

Please sign in to comment.