Skip to content

Commit

Permalink
fix 13-inch screen issue (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
bungaepyo authored Nov 3, 2021
1 parent 3d008a8 commit 228876a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/assets/constants/scss-variables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ export const smallMediumBreakpoint = '600px';
export const mediumBreakpoint = '878px';
export const largeBreakpoint = '976px';
export const veryLargeBreakpoint = '1347px';
export const largerBreakpoint = '1407px';
export const largestBreakpoint = '1455px';
1 change: 1 addition & 0 deletions src/assets/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ $small-medium-breakpoint: 600px;
$medium-breakpoint: 878px;
$large-breakpoint: 976px;
$very-large-breakpoint: 1347px;
$larger-breakpoint: 1407px;
$largest-breakpoint: 1455px;
10 changes: 9 additions & 1 deletion src/components/Semester/SemesterView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export default defineComponent({
flex: 1 1 50%;
margin-bottom: 1.5rem;
padding: 0 0.75rem;
padding: 0 0.25rem;
&--compact {
flex: 1 1 25%;
Expand Down Expand Up @@ -325,6 +325,14 @@ export default defineComponent({
}
@media only screen and (max-width: $largest-breakpoint) {
.semesterView {
&-empty--compact {
min-width: 33%;
}
}
}
@media only screen and (max-width: $larger-breakpoint) {
.semesterView {
&-empty--compact {
min-width: 50%;
Expand Down

0 comments on commit 228876a

Please sign in to comment.