Skip to content

Commit

Permalink
web/satellite: fix long table content overflow
Browse files Browse the repository at this point in the history
This change fixes an issue where long text content in the common table
will overflow and breaks layout.

Change-Id: I30f6e08488410359e0a97995f8d769b272b56c72
  • Loading branch information
wilfred-asomanii committed Jul 7, 2023
1 parent 074457f commit e0b5476
Showing 1 changed file with 13 additions and 42 deletions.
55 changes: 13 additions & 42 deletions web/satellite/src/components/common/VTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -151,59 +151,30 @@ const emit = defineEmits(['selectAllClicked']);
}
}
@media screen and (width <= 970px) {
tbody tr > .data p {
max-width: 25rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
tbody tr > .data p {
max-width: 25rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
@media screen and (width <= 970px) {
max-width: 15rem;
}
}
@media screen and (width <= 870px) {
@media screen and (width <= 870px) {
max-width: 10rem;
}
tbody tr > .data p {
max-width: 20rem;
@media screen and (width <= 350px) {
max-width: 8rem;
}
}
@media screen and (width <= 550px) {
@media screen and (width <= 600px) {
.select {
display: none;
}
tbody tr > .data p {
max-width: 25rem;
}
}
@media screen and (width <= 660px) {
tbody tr > .data p {
max-width: 15rem;
}
}
@media screen and (width <= 550px) {
tbody tr > .data p {
max-width: 15rem;
}
}
@media screen and (width <= 440px) {
tbody tr > .data p {
max-width: 10rem;
}
}
@media screen and (width <= 350px) {
tbody tr > .data p {
max-width: 8rem;
}
}
</style>

0 comments on commit e0b5476

Please sign in to comment.