Skip to content

Commit

Permalink
fix(tabs): height styles (#810)
Browse files Browse the repository at this point in the history
* fix(tabs): height styles

* chore(tabs): update screen and snapshots
  • Loading branch information
reme3d2y committed Aug 26, 2021
1 parent 2c290b6 commit b3b96e7
Show file tree
Hide file tree
Showing 21 changed files with 36 additions and 40 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
.container {
position: relative;
display: flex;
height: 100%;
}

.title {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

.component {
overflow: hidden;
height: 100%;

&:after {
content: '';
Expand All @@ -16,7 +15,6 @@
position: relative;
display: flex;
align-items: center;
height: 100%;
overflow-x: auto;
overflow-y: hidden;
padding-bottom: var(--tablist-hidden-scrollbar-height);
Expand Down
4 changes: 1 addition & 3 deletions packages/tabs/src/components/secondary-tablist/Component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ export const SecondaryTabList = ({
<div
role='tablist'
data-test-id={dataTestId}
className={cn(styles.component, className, size && styles[size], {
[styles.scrollable]: scrollable,
})}
className={cn(styles.component, className, size && styles[size])}
>
{scrollable ? (
<ScrollableContainer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@

.component {
position: relative;
display: flex;
align-items: center;
}

.container {
height: 100%;
display: flex;
align-items: center;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ exports[`Tabs Snapshots tests should match snapshot 4`] = `
<div>
<div>
<div
class="undefined"
class=""
role="tablist"
>
<div
Expand Down

0 comments on commit b3b96e7

Please sign in to comment.