Skip to content

Commit

Permalink
fix: lang box radius (#5535)
Browse files Browse the repository at this point in the history
* fix: lang box radius

* style: stylelint
  • Loading branch information
araujogui authored Jul 20, 2023
1 parent dd5c98e commit 01df27d
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions components/Article/Codebox/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
padding: var(--space-05) var(--space-08);

.langBox {
border-radius: var(--border-radius-3);
display: flex;
flex-direction: row;
height: 28px;
overflow: hidden;

.lang {
border-radius: var(--border-radius-3);
border-width: 0;
cursor: pointer;
font-family: var(--sans);
Expand All @@ -30,16 +31,6 @@
padding: 0 var(--space-16);
text-transform: uppercase;

&:nth-of-type(even) {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}

&:nth-of-type(odd):not(:last-of-type) {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}

&.selected {
font-weight: var(--font-weight-bold);
}
Expand Down

2 comments on commit 01df27d

@vercel
Copy link

@vercel vercel bot commented on 01df27d Jul 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 01df27d Jul 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nodejs-org-stories – ./

nodejs-org-storybook.vercel.app
nodejs-org-stories-git-main-openjs.vercel.app
nodejs-org-stories-openjs.vercel.app

Please sign in to comment.