Skip to content

Commit

Permalink
fix(sessions): remove mobile table overflow
Browse files Browse the repository at this point in the history
Signed-off-by: Kai Henseler <[email protected]>
  • Loading branch information
bromiesTM committed Aug 14, 2024
1 parent 42fcdcf commit 027767b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/components/security/AuthToken.vue
Original file line number Diff line number Diff line change
Expand Up @@ -399,4 +399,17 @@ export default defineComponent({
color: var(--color-text-maxcontrast);
}
}

@media (max-width: 660px) {
.auth-token__name {
min-width: auto;
}

td:has(.auth-token__last-activity) {
display: block;
margin-top: -25px;
padding-inline-start: 40px;
color: var(--color-text-lighter);
}
}
</style>
10 changes: 10 additions & 0 deletions src/components/security/AuthTokenList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,14 @@ export default defineComponent({
text-align: start;
}
}

@media screen and (max-width: 660px) {
.token-list {
width: 100%;
}

.token-list__header-activity {
display: none;
}
}
</style>

0 comments on commit 027767b

Please sign in to comment.