diff --git a/_sass/_data.scss b/_sass/_data.scss index 4bfbf64..37ad3d5 100644 --- a/_sass/_data.scss +++ b/_sass/_data.scss @@ -8,7 +8,7 @@ } .data__value { - padding: 0 0 0 1rem; + margin: 0 0 0 1rem; &:only-of-type { /* Рядом с одинокими элементами интервал кажется больше. Компенсируем */ @@ -23,6 +23,6 @@ align-items: baseline; > .data__value { - padding-left: .4rem; + margin-left: .4rem; } } \ No newline at end of file diff --git a/_sass/_piece-card.scss b/_sass/_piece-card.scss index b4ec075..2acca41 100644 --- a/_sass/_piece-card.scss +++ b/_sass/_piece-card.scss @@ -96,6 +96,7 @@ align-self: start; display: grid; gap: .75rem; + margin: 0; } .piece-card__button { diff --git a/pieces.html b/pieces.html index 5304216..8bd153b 100644 --- a/pieces.html +++ b/pieces.html @@ -31,48 +31,54 @@
{{ piece.description }}
-