Skip to content

Commit

Permalink
fix: Поправил отображение широких кнопок
Browse files Browse the repository at this point in the history
  • Loading branch information
shtirlizc committed Mar 5, 2021
1 parent 21dad3b commit aff0add
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Button/Button.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@

position: relative;
display: inline-block;
text-align: center;
font: 500 1.2em var(--font);
border-radius: 2px;
cursor: pointer;
padding: 0 30px;
padding-top: var(--font-hack);
border: 1px solid transparent;
letter-spacing: 0.25px;
white-space: nowrap;
transition: box-shadow 0.2s ease-in-out, color 0.2s ease-in-out,
background 0.2s ease-in-out, border 0.2s ease-in-out;
}
Expand Down Expand Up @@ -104,6 +105,8 @@

.fullWidth {
width: 100%;
padding-left: 0;
padding-right: 0;
}

.disabled,
Expand Down

0 comments on commit aff0add

Please sign in to comment.