Skip to content

Commit 199ae23

Browse files
committed
Increase width sidebar
1 parent 83c60ee commit 199ae23

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

addon/styles/components/es-sidebar.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
display: none;
1010
}
1111

12-
@media (max-width: 768px) {
12+
@media (max-width: 844px) {
1313
.es-sidebar-toggle {
1414
position: fixed;
1515
bottom: 30px;

addon/styles/sidebar-container.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
:root {
2-
--sidebar-width: 16rem;
2+
--sidebar-width: 18.5rem;
33
}
44

55
.sidebar-container {
@@ -19,7 +19,7 @@
1919
grid-column: 2 / span 2;
2020
}
2121

22-
@media (max-width: 768px) {
22+
@media (max-width: 844px) {
2323
.sidebar-container {
2424
display: block;
2525
padding: var(--spacing-4) var(--grid-margin);

docs/components/sidebar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
The sidebar component can be used together with the sidebar-container class to add a responsive sidebar to the page. If the sidebar is the first element in the sidebar-container it will display as a left sidebar. Otherwise it will display as a right sidebar.
66

7-
The sidebar component will automatically switch to the mobile mode once your browser window is smaller than or equal to 768px.
7+
The sidebar component will automatically switch to the mobile mode once your browser window is smaller than or equal to 844px.
88

99
<style>
1010
.sidebar-container {
@@ -20,7 +20,7 @@ The sidebar component will automatically switch to the mobile mode once your bro
2020
background: #FFF;
2121
}
2222

23-
@media (max-width: 768px) {
23+
@media (max-width: 844px) {
2424
.sidebar-container .es-sidebar {
2525
width: calc(100% - var(--es-sidebar-padding) * 2);
2626
}

0 commit comments

Comments
 (0)