Skip to content

Commit

Permalink
Сбрасываю у компонента button padding
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksimDoronin committed Dec 13, 2024
1 parent d3defc2 commit c8e6bee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<a class="header__logo-text logo" href="#">
<img class="logo-text" src="/" width="100" height="100" alt="Логотип с текстом 'CAT ENERGY'">
</a>
<button class="button" type="button">
<button class="header__button button" type="button">
<span class="visually-hidden">Расскрытие главного меню</span>
</button>
<nav class="header__navigation navigation">
Expand Down
2 changes: 1 addition & 1 deletion source/styles/blocks/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@include font($secondary-font, 16px, 20px);
@include block-color($white, $primary);
@include link;
padding: 10px 20px;
padding: 0;
text-align: center;
display: inline-block;
border: none;
Expand Down

0 comments on commit c8e6bee

Please sign in to comment.