Skip to content

Commit ffb971a

Browse files
authored
Merge pull request #105 from telerik/blazing-coffee-drawer-height-layout
chore(blazingCoffee): fix drawer layout height and scrollbar #104
2 parents 2f1f186 + 6452f0c commit ffb971a

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

sample-applications/blazing-coffee/BlazingCoffee/Client/Theme/_drawer.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
.k-drawer-container {
22
background-color: $background-color;
3-
min-height: calc(100vh);
3+
height: calc(100% - 80px);
44

55
.k-drawer {
66
box-shadow: 0 0 10px rgba(0,0,0,.2);
77
border-right-width: 0 !important;
88
}
99
}
1010

11+
.k-drawer-content {
12+
overflow: auto;
13+
height: 100%;
14+
}
15+
1116
.k-drawer-items {
1217
& .title {
1318
display: none; // hide from mini-mode, use .k-drawer-expanded to enable.

sample-applications/blazing-coffee/BlazingCoffee/Client/Theme/main.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,8 @@ a.k-link.k-state-selected {
8383
}
8484
}
8585

86+
html, body, app {
87+
height: 100%;
88+
margin: 0;
89+
padding: 0;
90+
}

0 commit comments

Comments
 (0)