Skip to content

Commit

Permalink
update 'new' label
Browse files Browse the repository at this point in the history
  • Loading branch information
jaffrepaul committed Sep 18, 2023
1 parent 9571666 commit 50a2520
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/guides/cloud/branch-review.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Branch Review
sidebar_position: 35
sidebar_class_name: beta
sidebar_class_name: new_label
---

:::info
Expand Down
6 changes: 3 additions & 3 deletions src/css/sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
}

// beta flag in sidebar
.theme-doc-sidebar-item-link.theme-doc-sidebar-item-link-level-2.menu__list-item.beta {
.theme-doc-sidebar-item-link.theme-doc-sidebar-item-link-level-2.menu__list-item.new_label {
a::after {
background-color: var(--cypress-color-indigo-400);
color: #fff;
content: "Beta";
content: "New";
font-size: .7rem;
border-radius: 5px;
margin-left: 5px;
padding: 2px 5px;
padding: 3px 5px 2px;
}
}

0 comments on commit 50a2520

Please sign in to comment.