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

add cancel button to resume form #111

Merged
merged 2 commits into from Oct 12, 2019
Merged

add cancel button to resume form #111

merged 2 commits into from Oct 12, 2019

Conversation

greybutton
Copy link
Contributor

.mr-3= f.submit t('.publish'), class: 'btn btn-success', name: 'publish'
.mr-3= f.submit class: 'btn btn-outline-primary'
.col-sm
.d-flex.justify-content-end.mb-3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а) можно поднять .d-flex.justify-content-end.mb-3 выше и сделать чище
б) на мобильном виде твоя кнопка будет всегда справа, ты этого тоже хотел?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

б) не то, чтобы хотел, мне кажется норм место для мобилки. для десктопа хотел справа

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

я к тому, что если хотел в столбик кнопки сделать - можно применить что-то типа justify-content-sm-end

.mr-3= f.submit class: 'btn btn-outline-primary'
.row.mt-5
.col-sm
.d-flex.mb-3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

зачем отдельный .d-flex.mb-3, почему не на .col-sm?

@mokevnin mokevnin merged commit ab6f59d into Hexlet:master Oct 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants