Skip to content

Commit

Permalink
fix: LogDetailsModal should display the information in vertical list …
Browse files Browse the repository at this point in the history
…on mobile

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux committed Jul 18, 2023
1 parent f3af26d commit 0738d71
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/components/LogDetailsModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,16 @@ const copyFormatted = () => copyToCipboard(formatLogEntry(props.currentEntry))
.hljs {
background-color: var(--color-main-background);
}

// For mobile we need to show the details as a vertical list
@media only screen and (max-width: 450px) {
.log-details {
&__info {
display: block;
}
dd {
margin-inline-start: 12px;
}
}
}
</style>

0 comments on commit 0738d71

Please sign in to comment.