-
Notifications
You must be signed in to change notification settings - Fork 7
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
BOX-97: Implement CardEdit logic #43
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self-reviewed
@@ -1,7 +1,13 @@ | |||
import { getValueNode } from '@box/lib/editor'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Скорее всего потом вообще этот хелпер выпилим, но пока он нужен
const ItemEditorContainer = styled.div` | ||
--editor-color: #62616d; | ||
--editor-font-size: 15px; | ||
--editor-line-height: 21px; | ||
-webkit-line-clamp: 3; | ||
display: -webkit-box; | ||
-webkit-box-orient: vertical; | ||
white-space: pre-line; | ||
max-height: 90px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@risenforces Спасибо!)
// Layout | ||
const Header = styled.div` | ||
margin-bottom: 50px; | ||
`; | ||
|
||
const Content = styled.div` | ||
min-height: 500px; | ||
`; | ||
|
||
const Footer = styled.div` | ||
margin-top: 100px; | ||
`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Потенциально можно вынести в shared/ui/layout
, но есть ощущение что это пока онли для этой страницы такие стили
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Возможно потом вынесу чисто ради "семантики" и базовых стилей
@cardbox/core гляньте пож |
Конфликты поправлю, появились после вливания другого PR |
Такс.... Первый прогон по правкам занял 2+ часов... Остальное видимо завтра уже --___-- |
@cardbox/core гляньте пож |
@sergeysova Расцепил пока submitChangesFx из draft, чтобы можно было переопределять поведение на уровне страниц без фабрик
|
Changelog
Chore
2fn6XZ3oQf.mp4
Checklist
Branch name
feature/
orfix/
orchore/
orrefactor/
ortests/
-
PullRequest
yarn commit
by conventional-commits