Skip to content

Commit

Permalink
change after top-header border line to 1px height
Browse files Browse the repository at this point in the history
  • Loading branch information
goldipl committed Jul 13, 2024
1 parent 780bdf8 commit be98623
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 5 additions & 1 deletion sass/common/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
width: 100%;
margin: 0 auto;

&::before {
&::after {
position: absolute;
content: "";
display: block;
Expand Down Expand Up @@ -472,6 +472,10 @@
.top-header {
height: 60px;

&::after {
height: 1px;
}

&.fixed-header {
&::before {
display: none;
Expand Down
5 changes: 4 additions & 1 deletion sass/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1755,7 +1755,7 @@ body {
width: 100%;
margin: 0 auto;
}
.header-2-0 .top-header::before {
.header-2-0 .top-header::after {
position: absolute;
content: "";
display: block;
Expand Down Expand Up @@ -2196,6 +2196,9 @@ body {
.header-2-0 .top-header {
height: 60px;
}
.header-2-0 .top-header::after {
height: 1px;
}
.header-2-0 .top-header.fixed-header::before {
display: none;
}
Expand Down
Loading

0 comments on commit be98623

Please sign in to comment.