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 12, 2024
1 parent d8a43fd commit 8ff7e86
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 @@ -99,4 +99,14 @@ export default defineComponent({
line-height: 24px;
}
}

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

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

0 comments on commit 8ff7e86

Please sign in to comment.