From bac4a33991e55b5a7621e361246a5437c8fd1c6b Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 22 Mar 2021 11:58:25 -0400 Subject: [PATCH] style: convert indentation in bottom-sheet to tabs --- less/modules/bottom-sheet.less | 108 ++++++++++++++++----------------- 1 file changed, 54 insertions(+), 54 deletions(-) diff --git a/less/modules/bottom-sheet.less b/less/modules/bottom-sheet.less index 1886f0f..f08827f 100644 --- a/less/modules/bottom-sheet.less +++ b/less/modules/bottom-sheet.less @@ -1,56 +1,56 @@ .bottom-sheet { - @media (max-width: @screen-sm-max) { - .dropdown-menu { - display: block; - visibility: hidden; - - position: fixed; - left: 0 !important; - right: 0 !important; - bottom: 0; - - margin: 0; - padding: 0 5px; - max-height: 60%; - - box-shadow: 0 2px 6px rgba(0,0,0,0.35); - overflow: auto; - -webkit-overflow-scrolling: touch; - transform: translate3d(0, 350px, 0); - transition: transform 0.3s, visibility 0s 0.3s; - z-index: 995; - padding: 5px 0 10px; - - li { - a { - padding: 10px 20px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } - - &.divider { - padding: 0; - } - - &.active { - background-color: @btn-primary-bg; - color: @btn-primary-color; - } - } - } - - &.open { - .dropdown-menu { - transform: none; - visibility: visible; - transition-delay: 0s; - top: auto; - } - } - - .dropdown-backdrop { - background-color: rgba(0, 0, 0, .3); - } - } + @media (max-width: @screen-sm-max) { + .dropdown-menu { + display: block; + visibility: hidden; + + position: fixed; + left: 0 !important; + right: 0 !important; + bottom: 0; + + margin: 0; + padding: 0 5px; + max-height: 60%; + + box-shadow: 0 2px 6px rgba(0,0,0,0.35); + overflow: auto; + -webkit-overflow-scrolling: touch; + transform: translate3d(0, 350px, 0); + transition: transform 0.3s, visibility 0s 0.3s; + z-index: 995; + padding: 5px 0 10px; + + li { + a { + padding: 10px 20px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + + &.divider { + padding: 0; + } + + &.active { + background-color: @btn-primary-bg; + color: @btn-primary-color; + } + } + } + + &.open { + .dropdown-menu { + transform: none; + visibility: visible; + transition-delay: 0s; + top: auto; + } + } + + .dropdown-backdrop { + background-color: rgba(0, 0, 0, .3); + } + } }