Skip to content

Commit 1035f4a

Browse files
committed
Fix style issues in BBEs
1 parent fe0cb68 commit 1035f4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/bbe/convertMarkdown.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ md.use(container, "code", {
190190
: ""
191191
}
192192
{codeClick${env.codeCount} ? (
193-
<button className="bg-transparent border-0 m-0 p-2${env.editOnGithubLink !== "" ? "" : " ms-auto"}"
193+
<button className="bg-transparent border-0 m-0 p-2 ${env.editOnGithubLink !== '' ? '' : ' ms-auto'}"
194194
disabled aria-label="Copy to Clipboard Check">
195195
<svg
196196
xmlns="http://www.w3.org/2000/svg"
@@ -206,7 +206,7 @@ md.use(container, "code", {
206206
</button>
207207
) : (
208208
<button
209-
className="bg-transparent border-0 m-0 p-2${env.editOnGithubLink === "" && env.playgroundLink === undefined ? " ms-auto" : ""}"
209+
className="bg-transparent border-0 m-0 p-2 ${env.editOnGithubLink !== '' ? '' : ' ms-auto'}"
210210
onClick={() => {
211211
updateCodeClick${env.codeCount}(true);
212212
copyToClipboard(codeSnippetData[${env.codeCount - 1}]);

0 commit comments

Comments
 (0)