Skip to content

Commit

Permalink
hidden in main
Browse files Browse the repository at this point in the history
  • Loading branch information
TetiZ committed Feb 1, 2024
1 parent db011e5 commit bdc0928
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/css/base/container.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,6 @@ html {
border-radius: 30px;
}

.hidden-in-main {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
border: 0;
padding: 0;
white-space: nowrap;
clip-path: inset(100%);
clip: rect(0 0 0 0);
overflow: hidden;
}

@media screen and (max-width: 767px) {
.footer-container {
width: 335px;
Expand Down
1 change: 1 addition & 0 deletions src/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
/* Utils */

@import url(./utils/variables.css);
@import url(./utils/hidden-in-main.css);

/* Layout */
@import url(./layout/izitoast.css);
Expand Down
12 changes: 12 additions & 0 deletions src/css/utils/hidden-in-main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.hidden-in-main {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
border: 0;
padding: 0;
white-space: nowrap;
clip-path: inset(100%);
clip: rect(0 0 0 0);
overflow: hidden;
}

0 comments on commit bdc0928

Please sign in to comment.