Right border length #799
-
I'm trying to make my right border touch the top and bottom of my blue background, but a bit stuck with that. Also, when I click, the focus state is not wrapping around the icon only, it stretches to the right border which is not desired. Any help will be appreciated. Link to PR -> click here |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
Thanks, @pradyuk ! Can you push your changes so we can see how you've implemented the border? |
Beta Was this translation helpful? Give feedback.
-
I'll check in with our engineering team on this border question, but a quick unrelated thing: You might already have this link but this has the tokens you'll need for things like the background color and the border color spec'd out https://share.goabstract.com/b72d29bc-9dbf-4f99-9a52-d3b4e6bf53cd?collectionLayerId=efe4c114-c1ec-47a1-a35d-8d2f2ad50c78&mode=design (ignore me if you just haven't gotten around to this level of styling yet) |
Beta Was this translation helpful? Give feedback.
-
Hi @pradyuk it looks like your |
Beta Was this translation helpful? Give feedback.
Hi @pradyuk it looks like your
Box
may be in the place. I put together a quick CodeSandbox to show a possible solution. https://codesandbox.io/s/header-box-example-lo35j?file=/src/index.tsx