diff options
author | Ryan Harris <harrisryan1@gmail.com> | 2016-12-02 17:47:19 +0300 |
---|---|---|
committer | Ryan Harris <harrisryan1@gmail.com> | 2016-12-05 19:00:00 +0300 |
commit | 9a1c8aa34239f4a6c40df2f75225ef058798ee98 (patch) | |
tree | eb16ebccf95eb5a7f0ba033d2990a8668d95e2fb | |
parent | 90c0f610e29976608dbfeeb63bc4763982c5dbc3 (diff) |
Fixed MR widget content wrapping for XS viewports
Update merge_requests.scss
Update merge_requests.scss to use padding shorthand
Removed padding from Accept Merge Request button
-rw-r--r-- | app/assets/stylesheets/pages/merge_requests.scss | 5 | ||||
-rw-r--r-- | changelogs/unreleased/25202-fix-mr-widget-content-wrapping.yml | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/merge_requests.scss b/app/assets/stylesheets/pages/merge_requests.scss index da1187af41c..740881487c3 100644 --- a/app/assets/stylesheets/pages/merge_requests.scss +++ b/app/assets/stylesheets/pages/merge_requests.scss @@ -129,6 +129,11 @@ margin-bottom: 4px; } + .btn-grouped { + float: none; + margin-right: 0; + } + .accept-action { width: 100%; text-align: center; diff --git a/changelogs/unreleased/25202-fix-mr-widget-content-wrapping.yml b/changelogs/unreleased/25202-fix-mr-widget-content-wrapping.yml new file mode 100644 index 00000000000..7afc794866b --- /dev/null +++ b/changelogs/unreleased/25202-fix-mr-widget-content-wrapping.yml @@ -0,0 +1,5 @@ +--- +title: Centered Accept Merge Request button within MR widget and added padding for + viewports smaller than 768px +merge_request: +author: Ryan Harris |