Skip to content

Commit

Permalink
Merge branch 'master' of github.com:00-team/simurgh
Browse files Browse the repository at this point in the history
  • Loading branch information
i007c committed Sep 30, 2024
2 parents 86ea022 + 396ea16 commit 79e5302
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.3
1.0.5
7 changes: 3 additions & 4 deletions app/pages/project.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -338,14 +338,13 @@ const Blogs: Component<BlogProps> = P => {
</Show>
</div>
<div class='blog-info title_smaller'>
<div class="blog-title title_smaller">
{b.title || '---'}
</div>
<div class='row'>
<span>شناسه:</span>
<span class='n'>{b.id}</span>
</div>
<div class='row'>
<span>عنوان:</span>
<span>{b.title || '---'}</span>
</div>
{/*<span>نشانه:</span>
<span class='n'>{b.slug}</span>
<span>تاریخ آپدیت:</span>
Expand Down
12 changes: 12 additions & 0 deletions app/pages/style/project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,18 @@
white-space: nowrap;
transition: border-color 200ms ease-in-out;

.blog-title {
width: 100%;

text-align: center;

display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}

.row {
width: 100%;

Expand Down
2 changes: 1 addition & 1 deletion ssr/style/blog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
box-shadow: 0px 5px 20px -10px black;
}

h2 {
p {
font-family: var(--simurgh--font-title);
margin-top: -2em;
}
Expand Down

0 comments on commit 79e5302

Please sign in to comment.