From 29b8075e98e448469c425a67846c24589dda2e97 Mon Sep 17 00:00:00 2001 From: Scott Nath Date: Tue, 5 Mar 2024 11:07:40 -0500 Subject: [PATCH] might work now --- src/github/styles/user.css | 2 +- src/github/user/user.stories.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/github/styles/user.css b/src/github/styles/user.css index 9b4894d..5a9c2f0 100644 --- a/src/github/styles/user.css +++ b/src/github/styles/user.css @@ -144,7 +144,7 @@ section[itemscope] { mask-image: var(--svg-people); } - div { + :is(div) { display: inline-flex; flex-direction: row-reverse; flex-wrap: nowrap; diff --git a/src/github/user/user.stories.js b/src/github/user/user.stories.js index ec97e4e..9f0e778 100644 --- a/src/github/user/user.stories.js +++ b/src/github/user/user.stories.js @@ -16,8 +16,8 @@ export default { console.log('args1', {...args}) let repos; // console.log('args2!', JSON.stringify([parseFetchedRepo(repoProfileComponents), parseFetchedRepo(repoStorydocker)]).replace(/"/g, "||||")) - if (args.repos2) { - repos = args.repos2; + if (args.repos) { + repos = args.repos; delete args.repos2; } let attributes = attrGen({...args}); @@ -52,7 +52,7 @@ export const UserRepos = { args: { ...parseFetchedUser(userScottnath), name: 'Scoot Nerth', - repos2: stringinator([parseFetchedRepo(repoProfileComponents), parseFetchedRepo(repoStorydocker)]), + repos: stringinator([parseFetchedRepo(repoProfileComponents), parseFetchedRepo(repoStorydocker)]), }, play: async ({ args, canvasElement, step }) => { console.log('UserRepos = canva', canvasElement.closest('body').innerHTML)