Skip to content

Commit

Permalink
minimum viable fix
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmunson committed Jan 27, 2025
1 parent 02ce595 commit f1f74a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/detail-panels/layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export function AccountLayoutCore({
<AccountExtraInfo
className={revealInfo ? 'account-extra-info-reveal' : ''}
/>

<div>
<TabSelector
className="account-tabs-handles"
tab={selectedTab}
Expand All @@ -103,6 +103,7 @@ export function AccountLayoutCore({
);
})}
</div>
</div>
</div>
</>
);
Expand Down
6 changes: 4 additions & 2 deletions src/detail-panels/tab-selector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ export function TabSelector({ className, tab, onTabSelected }) {
<div className={'tab-outer-container ' + (className || '')}>
<Tabs
className={'tab-selector-root selected-tab-' + tab}
orientation="vertical"
orientation="horizontal"
variant='scrollable'
scrollButtons='auto'
value={accountTabs.indexOf(tab)}
onChange={
typeof onTabSelected !== 'function'
Expand All @@ -78,7 +80,7 @@ export function TabSelector({ className, tab, onTabSelected }) {
function VerticalTab({ children, ...rest }) {
return (
<Tab
label={<div style={{ writingMode: 'vertical-rl' }}>{children}</div>}
label={<div style={{ writingMode: 'horizontal-rl' }}>{children}</div>}

Check failure on line 83 in src/detail-panels/tab-selector.jsx

View workflow job for this annotation

GitHub Actions / build_and_test

Type '"horizontal-rl"' is not assignable to type 'WritingMode | undefined'. Did you mean '"horizontal-tb"'?
{...rest}
/>
);
Expand Down

0 comments on commit f1f74a3

Please sign in to comment.