/* * https://github.com/morethanwords/tweb * Copyright (C) 2019-2021 Eduard Kuzmenko * https://github.com/morethanwords/tweb/blob/master/LICENSE */ .sidebar { &-header { background-color: var(--surface-color); display: flex; align-items: center; justify-content: space-between; padding: 0 1rem; min-height: 56px; flex: 0 0 auto; user-select: none; cursor: default; @include respond-to(handhelds) { padding: 7.5px 8px; } /* //position: sticky !important; position: sticky !important; top: 0; z-index: 1; */ &__title { flex: 1; font-weight: 500; padding-left: 24px; font-size: 20px; color: var(--primary-text-color); } .btn-icon + .btn-icon { margin-left: .5rem; } } &-close-button { overflow: inherit !important; width: 40px; height: 40px; } &-content { width: 100%; max-height: 100%; height: 100%; overflow: hidden; display: flex; /* idk why but need */ position: relative; flex: 1 1 auto; /* @include respond-to(handhelds) { margin-top: 60px; } */ /* > div { width: 100%; } */ } }