Skip to content

Commit

Permalink
Limit link text to 3 lines
Browse files Browse the repository at this point in the history
  • Loading branch information
bobo-k2 committed Oct 22, 2024
1 parent 00a7617 commit cea9c2e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/governance/GovernanceLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,17 @@ export default defineComponent({
color: $astar-blue;
align-items: center;
gap: 8px;
max-height: 80px;
}
a {
color: $astar-blue;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
text-overflow: ellipsis;
max-height: 4.5em;
line-height: 1.5em;
}
</style>

0 comments on commit cea9c2e

Please sign in to comment.