Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/assets/stylesheets/base/root.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ body.sidebar-collapsed .page-layout.with-sidebar > main.container {
display: none;
}

@media (max-width: 900px) {
@media (max-width: 1024px) {
.container {
padding: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/components/navigation.css
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ body.has-sidebar .nav-burger {
display: flex;
}

@media (max-width: 900px) {
@media (max-width: 1024px) {
.nav-container {
padding: 0 var(--spacing-4);
}
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/components/settings.css
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@
padding: var(--spacing-2) var(--spacing-3);
}

@media (max-width: 900px) {
@media (max-width: 1024px) {
.settings-page .email-table {
table-layout: fixed;
}
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/components/sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
}

@media (max-width: 900px) {
@media (max-width: 1024px) {
.sidebar {
position: static;
top: auto;
Expand Down
4 changes: 2 additions & 2 deletions app/assets/stylesheets/components/topics.css
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ a.topic-icon {
}
}

@media (max-width: 900px) {
@media (max-width: 1024px) {
.topics-table {
& th,
& td {
Expand Down Expand Up @@ -572,7 +572,7 @@ a.topic-icon {
flex-shrink: 0;
}

@media (max-width: 900px) {
@media (max-width: 1024px) {
.topic-title-main {
display: none;
}
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/controllers/nav_overflow_controller.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Controller } from "@hotwired/stimulus"

const MOBILE_BREAKPOINT = "(max-width: 900px)"
const MOBILE_BREAKPOINT = "(max-width: 1024px)"

export default class extends Controller {
static targets = ["container", "menu", "overflow", "overflowMenu", "item"]
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/controllers/sidebar_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export default class extends Controller {
}

isMobile() {
return window.matchMedia("(max-width: 900px)").matches
return window.matchMedia("(max-width: 1024px)").matches
}

closeOnNavigate(event) {
Expand Down
Loading