Новые изменения в компоенты

This commit is contained in:
Web-serfer 2026-04-29 03:54:03 +05:00
parent 1838fd302d
commit 0c6c8fe4d8
7 changed files with 24 additions and 8 deletions

View file

@ -364,6 +364,7 @@ const showImage = layout === 'with-image' && sideImage;
border-radius: 8px;
box-shadow: 0 15px 35px rgba(0,0,0,0.2);
min-width: 180px;
text-align: center;
}
.exp-number {
@ -372,6 +373,7 @@ const showImage = layout === 'with-image' && sideImage;
color: #1e3050;
line-height: 1;
display: block;
text-align: center;
}
.exp-text {
@ -379,6 +381,7 @@ const showImage = layout === 'with-image' && sideImage;
font-weight: 800;
color: #535e6c;
text-transform: uppercase;
text-align: center;
}
/* --- АДАПТАЦИЯ --- */

View file

@ -96,6 +96,9 @@ const { initialLikes = 0, initialDislikes = 0, postId } = Astro.props;
padding: 0.4rem 0.75rem;
font-size: 0.8rem;
}
.post-reactions {
align-items: flex-end;
}
}
:global(.toast-link) {

View file

@ -109,6 +109,7 @@ const encodedUrl = encodeURIComponent(url);
@media (max-width: 768px) {
.post-social-share {
flex-wrap: wrap;
align-items: flex-end;
}
}
</style>