Skip to content

Commit f993d8f

Browse files
fix(fuselage): add styles to prevent table overflow in Storybook Docs on mobile
1 parent b753447 commit f993d8f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Fix Storybook Docs table overflow issue on mobile
2+
3+
*:has(> .docblock-argstable) {
4+
width: 100%;
5+
overflow-x: auto;
6+
display: block;
7+
}
8+

packages/fuselage/.storybook/preview.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import logo from './logo.svg';
1212

1313
import 'normalize.css/normalize.css';
1414
import '@rocket.chat/icons/dist/rocketchat.css';
15+
import './docs-overrides.scss';
1516

1617
export default {
1718
parameters: {

0 commit comments

Comments
 (0)