Skip to content
Merged
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
10 changes: 1 addition & 9 deletions src/material/datepicker/datepicker-content.scss
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,9 +20,7 @@ $touch-landscape-width: 64vh;
$touch-landscape-height: 80vh;
$touch-portrait-width: 80vw;
$touch-portrait-height: 100vw;
$touch-portrait-height-with-actions: 115vw;
$touch-min-width: 250px;
$touch-min-height: 312px;
$touch-max-width: 750px;
$touch-max-height: 788px;

Expand DownExpand Up@@ -128,7 +126,7 @@ $touch-max-height: 788px;
}

.mat-datepicker-content-container {
min-height: $touch-min-height;
min-height: fit-content;
max-height: $touch-max-height;
min-width: $touch-min-width;
max-width: $touch-max-width;
Expand DownExpand Up@@ -156,10 +154,4 @@ $touch-max-height: 788px;
width: $touch-portrait-width;
height: $touch-portrait-height;
}

// The content needs to be a bit taller when actions have
// been projected so that it doesn't have to scroll.
.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions {
height: $touch-portrait-height-with-actions;
}
}
Loading