Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cell error box shadow #97

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 21 additions & 55 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@
"postcss-logical": "^7.0.1",
"postcss-modules": "^6.0.0",
"prettier": "^3.1.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"remove-files-webpack-plugin": "^1.5.0",
"storybook": "^7.6.7",
"swc-loader": "^0.2.3",
Expand Down
3 changes: 3 additions & 0 deletions src/components/Blocks/Section/Section.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
}

.wrapper--ios .body {
display: flex;
flex-direction: column;
gap: 0.5px;
border-radius: 12px;
background: var(--tgui--section_bg_color);
}
Expand Down
10 changes: 10 additions & 0 deletions src/components/Blocks/Section/Section.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,16 @@ export const Playground: Story = {
header="Last name"
placeholder="21 y.o. designer from San Francisco"
/>
<Input
status="error"
header="Phone number"
placeholder="Enter a correct phone number"
/>
<Input
status="error"
header="Address"
placeholder="This address is invalid"
/>
</Section>
</List>
),
Expand Down
1 change: 1 addition & 0 deletions src/components/Form/Input/Input.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.wrapper {
padding: 12px 16px;
gap: 12px;
position: relative;
}

.wrapper--ios {
Expand Down