Closed thomasbnt closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
astro-badge | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Jul 13, 2023 1:33pm |
Good rendering
But maybe change the lang="html"
by another appropriate lang for... url?
Is the main thing this aims to fix the backticks around the URL? Personally I liked the text wrapping because it lets you see quickly the difference in the URL, whereas with the Code component, you have to scroll to see that.
We can adjust Tailwind to remove the backticks if that's the main aim.
Yeah to suppress backticks!
OK, so we should be able to do this in tailwind.config.cjs
based on an example like this:
module.exports = {
theme: {
extend: {
typography(theme) {
"code::before": {
content: '""',
},
"code::after": {
content: '""',
},
},
},
},
}'
OK, so we should be able to do this in
tailwind.config.cjs
based on an example like this:module.exports = { theme: { extend: { typography(theme) { "code::before": { content: '""', }, "code::after": { content: '""', }, }, }, }, }'
And user-select: all
on code could be nice with that.
And
user-select: all
on code could be nice with that.
Yeah!
And
user-select: all
on code could be nice with that.Yeah!
Need help for that, never touched tailwind config :x
Haha, OK well letβs just go with removing the back ticks for now then! Weβre working on a redesign soon, so can tackle those other features then. π
I close this PR, and for the future design, I creating a new PR β¨π
Haha, OK well letβs just go with removing the back ticks for now then! Weβre working on a redesign soon, so can tackle those other features then. π
arg yes of course for back ticks π
Hmm, looks like it didn't work in the preview deployment π€
Hello!
Seems not working with DEFAULT
.
Heh, who'd have thought two backticks could be so complicated to deal with π
I'm not sure what the fix is I'm afraid although I'd be happy to merge if you can figure it out!
Heh, who'd have thought two backticks could be so complicated to deal with π
I'm not sure what the fix is I'm afraid although I'd be happy to merge if you can figure it out!
aha yeah it's just a story of two back ticks π I don't know, I never touched Tailwind before, and if you don't find the solution, I can't help you, you are better than me about this framework π
Fair enough β I don't use Tailwind much so not sure why it's so complicated π
I guess we can close this PR then and once we have the new design, this will be fixed by that
I guess we can close this PR then and once we have the new design, this will be fixed by that
Yeah no problem! π
Editing code parts of URL snippets for tiny/small/medium/large badges on BWA page. Because it's more simple to copy that and better design.
Actual :