[Git][noosfero/noosfero][master] 4 commits: Fixed issue 365 - Add space to button on article creation

Rodrigo Souto gitlab at mg.gitlab.com
Thu Jan 24 14:14:29 BRST 2019


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
b828ca34 by Caio at 2019-01-17T11:09:17Z
Fixed issue 365 - Add space to button on article creation

- - - - -
b9d2cda1 by Caio at 2019-01-22T09:34:09Z
Fixed issue 365 - Add space to button on article creation ( Added another solution - New file for css modification)

- - - - -
324b0c98 by Caio at 2019-01-22T11:28:49Z
Fixed issue 365 - Add space to button on article creation ( Added better solution )

- - - - -
224c88dc by Rodrigo Souto at 2019-01-24T16:14:24Z
Merge branch 'fixed-issue-365' into 'master'

Fixed issue 365 - Add space to button on article creation

See merge request noosfero/noosfero!1661
- - - - -


3 changed files:

- app/views/cms/edit.html.erb
- public/stylesheets/buttons.scss
- public/stylesheets/cms.scss


Changes:

=====================================
app/views/cms/edit.html.erb
=====================================
@@ -26,13 +26,10 @@
       </div>
     <% end %>
 
-    <div style='float: right'>
-      <%= modal_button :help, _('Why categorize?'), :action => 'why_categorize' %>
-    </div>
-
     <%= button_bar do %>
       <%= submit_button :save, _('Save') %>
       <%= submit_button :save_and_continue, _('Save and continue'), :name => "continue" %>
+      <%= modal_button :help, _('Why categorize?'), :action => 'why_categorize' %>
     <% end %>
 
     <%= select_categories(:article, _('Categorize your article')) %>


=====================================
public/stylesheets/buttons.scss
=====================================
@@ -19,6 +19,8 @@ $orange_button_hover: #ff8c1a;
   justify-content: flex-end;
   margin: 1em auto;
   text-align: right;
+  flex-wrap: wrap;
+  @media only screen and (max-width: 540px) { justify-content: center; }
 }
 
 a.button,


=====================================
public/stylesheets/cms.scss
=====================================
@@ -2,6 +2,7 @@
 @import 'cms/media-panel';
 @import 'cms/access-options';
 @import 'cms/article-fields';
+
 .cms-header {
   display: flex;
   justify-content: flex-end;



View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/70c5f70142b9af01127f6d15a688e17d95cc1a44...224c88dc7bdc3ce499208ce862ed5d0fe815fc01

-- 
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/70c5f70142b9af01127f6d15a688e17d95cc1a44...224c88dc7bdc3ce499208ce862ed5d0fe815fc01
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20190124/323b0000/attachment-0001.html>


More information about the Noosfero-dev mailing list