about summary refs log tree commit diff
path: root/app/validators/vote_validator.rb
diff options
context:
space:
mode:
authorSasha Sorokin <dafri.nochiterov8@gmail.com>2020-01-12 20:16:20 +0700
committerEugen Rochko <eugen@zeonfederated.com>2020-01-12 14:16:20 +0100
commit5dcca33c561ebeca9cf12eba8a39efee0dd484d0 (patch)
tree2bd705f18d56444a06c997f0313a4f200841cc08 /app/validators/vote_validator.rb
parentc6287d58552f5036c8d089561966794017ab9ee8 (diff)
Correct margins for heading actions (#12797)
This commit changes margins of the page heading header, actions in
order to fix displaying with low screen size and long enough header.

It is working by giving heading and action buttons margin from top
and then negating it in parent element. Whenever flex item wrap, the
"negated" margin will be applied again, providing us nice space
between header and action buttons.

This commit also adds a margin to header, so it does not clamp with
the heading actions and they wrap a little earlier (15px ahead). As
well as the left margin is not anymore applied to the first action.
Diffstat (limited to 'app/validators/vote_validator.rb')
0 files changed, 0 insertions, 0 deletions