Skip to content

Commit

Permalink
remove the horizontal scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
IliaKani committed Mar 20, 2024
1 parent 5003df0 commit 86d840c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions blocks/page/page.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.page {
min-width: 360px;
max-width: 1600px;
/* выше установили ограничение по максимальной ширине */
width: 100%;
max-width: 100%;
overflow-x: hidden;
margin: 0 auto;
/* выше для экранов больше 1600px отцентрировали весь контент */
font-family: 'UEFA Euro book', Arial, sans-serif;
Expand Down
5 changes: 5 additions & 0 deletions pages/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@
url('/font/UEFAEuro-Book.woff') format('woff');
};

body {
width: 100%;
max-width: 100%;
overflow-x: hidden;
}

0 comments on commit 86d840c

Please # to comment.