Skip to content

Commit

Permalink
docs: fix inconsistent divider in rule categories box (#19249)
Browse files Browse the repository at this point in the history
* docs: fix inconsistent divider in rule categories

* fix styling errors

---------

Co-authored-by: Nitin Kumar <snitin315@gmail.com>
  • Loading branch information
Tanujkanti4441 and snitin315 authored Dec 20, 2024
1 parent f76d05d commit 995b492
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/src/assets/scss/components/rules.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,19 @@
&:not(:first-child)::after {
content: "";
display: block;
padding: 1px;
border-left: 1px solid var(--divider-color);
left: 0;
}
}

@media screen and (min-width: 768px) and (max-width: 1023px), screen and (min-width: 1440px) {
@media screen and (min-width: 768px) and (max-width: 799px), screen and (min-width: 854px) and (max-width: 1023px), screen and (min-width: 1256px) {
&:not(:first-child)::after {
height: 70%;
position: absolute;
}
}

@media screen and (min-width: 1024px) and (max-width: 1439px) {
@media screen and (min-width: 800px) and (max-width: 853px), screen and (min-width: 1024px) and (max-width: 1255px) {
&:nth-child(2)::after {
height: 70%;
position: absolute;
Expand Down

0 comments on commit 995b492

Please sign in to comment.