Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85949491
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
3 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/src/components/tab_switcher/tab_switcher.scss b/src/components/tab_switcher/tab_switcher.scss
index 30e0bd9035..755ff9a787 100644
--- a/src/components/tab_switcher/tab_switcher.scss
+++ b/src/components/tab_switcher/tab_switcher.scss
@@ -1,162 +1,163 @@
/* stylelint-disable no-descending-specificity */
.tab-switcher {
display: flex;
.tab-icon {
margin: 0.2em auto;
display: block;
}
&.top-tabs {
flex-direction: column;
> .tabs {
width: 100%;
overflow: auto hidden;
padding-top: 5px;
flex-direction: row;
flex: 0 0 auto;
&::after,
&::before {
content: "";
flex: 1 1 auto;
border-bottom: 1px solid;
border-bottom-color: var(--border);
}
.tab-wrapper {
height: 2em;
&:not(.active)::after {
left: 0;
right: 0;
bottom: 0;
border-bottom: 1px solid;
border-bottom-color: var(--border);
}
}
.tab {
width: 100%;
min-width: 1px;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
padding-bottom: 99px;
margin-bottom: calc(6px - 99px);
}
}
.contents.scrollable-tabs {
flex-basis: 0;
position: relative;
}
}
.contents {
flex: 1 0 auto;
min-height: 0;
+ position: relative;
.hidden {
display: none;
}
.-full-height:not(.hidden) {
height: 100%;
display: flex;
flex-direction: column;
> *:not(.mobile-label) {
flex: 1;
}
}
.-full-width:not(.hidden) {
display: flex;
flex-direction: column;
> *:not(.mobile-label) {
width: auto;
}
}
&.scrollable-tabs {
overflow-y: auto;
}
}
.tab {
user-select: none;
color: var(--text);
border: none;
cursor: pointer;
box-shadow: var(--shadow);
font-size: 1em;
font-family: var(--font);
border-radius: var(--roundness);
background-color: var(--background);
position: relative;
white-space: nowrap;
padding: 6px 1em;
&:not(.active) {
z-index: 4;
margin-top: 0.25em;
&:hover {
z-index: 6;
}
}
&.active {
background: transparent;
z-index: 5;
}
img {
max-height: 1.9em;
vertical-align: top;
margin-top: -0.3em;
}
}
.tabs {
display: flex;
position: relative;
box-sizing: border-box;
&::after,
&::before {
display: block;
flex: 1 1 auto;
}
}
.tab-wrapper {
position: relative;
display: flex;
flex: 0 0 auto;
&:not(.active) {
&::after {
content: "";
position: absolute;
z-index: 7;
}
}
}
.mobile-label {
padding-left: 0.3em;
padding-bottom: 0.25em;
margin-top: 0.5em;
margin-left: 0.2em;
margin-bottom: 0.25em;
border-bottom: 1px solid var(--border);
@media all and (width >= 800px) {
display: none;
}
}
}
/* stylelint-enable no-descending-specificity */
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Wed, Nov 18, 2:24 AM (21 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1839998
Default Alt Text
(3 KB)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline