mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-04 11:55:50 +00:00
fix tablet positioning of labels in blog
This commit is contained in:
@@ -207,7 +207,7 @@ export default function Index() {
|
||||
className="mb-4"
|
||||
/>
|
||||
<div
|
||||
className={`d-inline-block label blog-category-${card.category_id}`}
|
||||
className={`d-block label blog-category-${card.category_id}`}
|
||||
>
|
||||
{translate(card.category)}
|
||||
</div>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -55,6 +55,26 @@
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.label{
|
||||
width: fit-content;
|
||||
}
|
||||
}
|
||||
|
||||
// Add styles to ensure proper wrapping on tablet sizes
|
||||
@media (min-width: 768px) and (max-width: 991px) {
|
||||
#category-list {
|
||||
display: block;
|
||||
|
||||
img {
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.label {
|
||||
display: block !important;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.category_sidebar {
|
||||
|
||||
Reference in New Issue
Block a user