fix: dropdown indicator in tabs has proper width and position (#12584)

Closes #12481 , partially fix #12486
This commit is contained in:
Kasia Kucharczyk
2021-01-20 23:18:42 +01:00
committed by GitHub
parent c85b4c75b1
commit b592165f68

View File

@@ -86,22 +86,6 @@ const StyledTabsContainer = styled.div`
position: relative;
}
.drop-indicator--left {
left: ${({ theme }) => -theme.gridUnit * 3}px !important;
}
.drop-indicator--right {
left: ${({ theme }) => `calc(100% + ${theme.gridUnit * 6}px)`} !important;
}
.drop-indicator--bottom,
.drop-indicator--top {
width: ${({ theme }) => `calc(100% + ${theme.gridUnit * 6}px)`} !important;
}
.drop-indicator--top {
top: ${({ theme }) => theme.gridUnit * 2}px;
}
.ant-tabs {
overflow: visible;