Skip to content

Commit

Permalink
Fix main-page after review
Browse files Browse the repository at this point in the history
  • Loading branch information
VladToby committed Jul 13, 2024
1 parent 17b5866 commit 89a9844
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/pages/main-page/main-page.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="main-page__container">
<div class="main-page__items">
<div class="main-page container">
<nav class="main-page items">
{{> Button class="login-page" type="button" label="Login Page" id="button" page="loginPage" }}
{{> Button class="registration-page" type="button" label="Registation Page" id="button" page="registrationPage" }}
{{> Button class="chat-list-page" type="button" label="Chat Page" id="button" page="chatPage" }}
Expand All @@ -8,5 +8,5 @@
{{> Button class="profile-edit-password-page" type="button" label="Edit Password Page" id="button" page="profileEditPasswordPage" }}
{{> Button class="error-404-page" type="button" label="Error 404" id="button" page="error404" }}
{{> Button class="error-500-page" type="button" label="Error 500" id="button" page="error500" }}
</div>
</nav>
</div>
16 changes: 9 additions & 7 deletions src/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ body {



.main-page__container {
display: flex;
width: 50%;
margin: 0 auto;

.main-page__items {
.container-styles()
.main-page {
&.container {
display: flex;
width: 50%;
margin: 0 auto;

.items {
.container-styles()
}
}
}

0 comments on commit 89a9844

Please sign in to comment.