Parcourir la source

Merge pull request #12650 from surajshetty3416/fix-workspace-sidebar-scrolling

version-14
Suraj Shetty il y a 4 ans
committed by GitHub
Parent
révision
541db956a6
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 28 ajouts et 0 suppressions
  1. +28
    -0
      frappe/public/scss/desk/desktop.scss

+ 28
- 0
frappe/public/scss/desk/desktop.scss Voir le fichier

@@ -485,6 +485,19 @@ body {
}
}
}

@media (max-width: map-get($grid-breakpoints, "sm")) {
.widget-body {
flex-direction: column;
.onboarding-steps-wrapper {
min-width: none;
}
.onboarding-step-preview {
padding-left: 0;
padding-top: var(--padding-lg);
}
}
}
}

&.shortcut-widget-box {
@@ -733,3 +746,18 @@ body {
height: 200px;
}
}

[data-page-route="Workspaces"] {
@media (min-width: map-get($grid-breakpoints, "lg")) {
.layout-main {
height: calc(100vh - var(--navbar-height) - var(--page-head-height) - 5px);
.layout-side-section, .layout-main-section-wrapper {
height: 100%;
overflow-y: scroll;
}
.desk-sidebar {
margin-bottom: var(--margin-2xl);
}
}
}
}

Chargement…
Annuler
Enregistrer