Skip to content

Commit

Permalink
fix: improve window scaling on homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
SethBurkart123 committed Feb 28, 2024
1 parent 7d9c956 commit df22be7
Showing 1 changed file with 29 additions and 11 deletions.
40 changes: 29 additions & 11 deletions src/css/injected.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ html {
background-color 200ms ease-in-out,
backdrop-filter 200ms ease-in-out;
}
@media (min-width: 900px) {
#title > span {
transform: translateY(2px);
}
}
.connectedNotificationsWrapper > div > button > svg > g {
fill: var(--theme-primary) !important;
}
Expand Down Expand Up @@ -517,12 +512,6 @@ ol > [data-label] {
margin-left: 4px;
margin-bottom: 4px;
}
@media (min-width: 1000px) {
ol > [data-label] {
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
}
}
.Message__Message___3oJaU > .uiFrameWrapper .iframeWrapper {
background: transparent;
}
Expand Down Expand Up @@ -570,21 +559,25 @@ div > ol:has(.uiFileHandlerWrapper) {
#main > .timetablepage > .container {
background: var(--background-primary);
}

#content {
transition: 0.4s;
left: 270px;
background: unset;
}

@media (max-width: 420px) {
.userInfo {
display: none !important;
}
}

@media (max-width: 490px) {
.userInfohouse {
display: none;
}
}

@media (max-width: 900px) {
.student #menu > ul::before {
background-color: var(--background-primary);
Expand Down Expand Up @@ -612,6 +605,31 @@ div > ol:has(.uiFileHandlerWrapper) {
transform: translatex(270px);
}
}

@media (max-width: 1145px) {
.home-container {
padding: 2rem !important;
}
}

@media (max-width: 1100px) {
.home-container {
padding: 2rem 1rem !important;
}
}

@media (min-width: 900px) {
#title > span {
transform: translateY(2px);
}
}

@media (min-width: 1000px) {
ol > [data-label] {
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
}
}
.welcome
> .portalPageView
> .powerPortalPage
Expand Down

0 comments on commit df22be7

Please sign in to comment.