diff --git a/css/styles.css b/css/styles.css index a674913..2b0d3a8 100644 --- a/css/styles.css +++ b/css/styles.css @@ -556,12 +556,13 @@ input { width: 100%; display: inline-flex; justify-content: space-between; - padding-right: 5px; +} +.gallery__title { + width: 100%; } .gallery__likes { display: inline-flex; justify-content: flex-end; - margin-left: 10px; } .gallery__likes i { margin-top: 1px; diff --git a/sass/layout/_gallery.scss b/sass/layout/_gallery.scss index 9a7c64d..f8461d9 100644 --- a/sass/layout/_gallery.scss +++ b/sass/layout/_gallery.scss @@ -42,13 +42,15 @@ width: 100%; display: inline-flex; justify-content: space-between; - padding-right: 5px; + } + + &__title { + width: 100%; } &__likes { display: inline-flex; justify-content: flex-end; - margin-left: 10px; & i { margin-top: 1px;