aboutsummaryrefslogtreecommitdiff
path: root/src/components/tab_switcher/tab_switcher.scss
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2019-09-26 21:14:31 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2019-09-26 21:14:31 +0300
commit19cb98b85fc071dccd88bcdddff75d99cd4d944d (patch)
treea99d9ed2ab174eea4533146b8f97c6bde9170eae /src/components/tab_switcher/tab_switcher.scss
parentc02433b7e69d4e19be50cb513327a8985f262998 (diff)
parent501208d350a9bd0fbcafb13d70a2fa6182fb8cf3 (diff)
Merge branch 'develop' into feature/following_reblogs
Diffstat (limited to 'src/components/tab_switcher/tab_switcher.scss')
-rw-r--r--src/components/tab_switcher/tab_switcher.scss11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/components/tab_switcher/tab_switcher.scss b/src/components/tab_switcher/tab_switcher.scss
index 4eeb42e0..3e5eacd5 100644
--- a/src/components/tab_switcher/tab_switcher.scss
+++ b/src/components/tab_switcher/tab_switcher.scss
@@ -1,10 +1,21 @@
@import '../../_variables.scss';
.tab-switcher {
+ display: flex;
+ flex-direction: column;
+
.contents {
+ flex: 1 0 auto;
+ min-height: 0px;
+
.hidden {
display: none;
}
+
+ &.scrollable-tabs {
+ flex-basis: 0;
+ overflow-y: auto;
+ }
}
.tabs {
display: flex;