Skip to content

Commit

Permalink
fix(files): add media query for mobile support
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmcg committed Mar 17, 2022
1 parent 67968d4 commit 2aa48cb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions components/views/files/view/View.less
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@
}
}

.swiper-slide-active {
#view-file {
transform: translate3d(calc(@sidebar-size + @servers-size), 0px, 0px);
@media only screen and (min-width: calc(@mobile-breakpoint + 1px)) {
.swiper-slide-active {
#view-file {
transform: translate3d(calc(@sidebar-size + @servers-size), 0px, 0px);
}
}
}

0 comments on commit 2aa48cb

Please sign in to comment.