Browse Source

Merge pull request #15752 from shariquerik/image-in-sidebar-mobile-view

fix: Show image in sidebar in mobile view
version-14
mergify[bot] 3 years ago
committed by GitHub
parent
commit
315f9bbf35
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      frappe/public/js/frappe/form/templates/form_sidebar.html
  2. +1
    -1
      frappe/public/scss/desk/sidebar.scss

+ 1
- 1
frappe/public/js/frappe/form/templates/form_sidebar.html View File

@@ -1,5 +1,5 @@
<ul class="list-unstyled sidebar-menu user-actions hidden"></ul>
<ul class="list-unstyled sidebar-menu sidebar-image-section hidden-xs hidden-sm hide">
<ul class="list-unstyled sidebar-menu sidebar-image-section hide">
<li class="sidebar-image-wrapper">
<img class="sidebar-image">
<div class="sidebar-standard-image">


+ 1
- 1
frappe/public/scss/desk/sidebar.scss View File

@@ -107,7 +107,7 @@ body[data-route^="Module"] .main-menu {
cursor: pointer;

.sidebar-image {
width: 100%;
width: min(100%, 170px);
height: auto;
max-height: 170px;
object-fit: cover;


Loading…
Cancel
Save