Skip to content
Extraits de code Groupes Projets
Non vérifiée Valider 473a69ab rédigé par Eugen Rochko's avatar Eugen Rochko Validation de GitHub
Parcourir les fichiers

Fix margin on top action button, fix width of counters on frontpage (#6573)

parent fce84640
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -15,8 +15,6 @@ $small-breakpoint: 960px; ...@@ -15,8 +15,6 @@ $small-breakpoint: 960px;
} }
} }
.landing-page { .landing-page {
.grid { .grid {
display: grid; display: grid;
...@@ -51,7 +49,6 @@ $small-breakpoint: 960px; ...@@ -51,7 +49,6 @@ $small-breakpoint: 960px;
} }
@media screen and (max-width: $small-breakpoint) { @media screen and (max-width: $small-breakpoint) {
.grid { .grid {
grid-template-columns: 40% 60%; grid-template-columns: 40% 60%;
...@@ -633,8 +630,8 @@ $small-breakpoint: 960px; ...@@ -633,8 +630,8 @@ $small-breakpoint: 960px;
align-items: flex-end; align-items: flex-end;
.information-board__section { .information-board__section {
flex: 1 0 80px; flex: 1 0 auto;
padding: 0 5px; padding: 0 10px;
} }
} }
......
...@@ -278,6 +278,11 @@ code { ...@@ -278,6 +278,11 @@ code {
.actions { .actions {
margin-top: 30px; margin-top: 30px;
display: flex; display: flex;
&.actions--top {
margin-top: 0;
margin-bottom: 30px;
}
} }
button, button,
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
= simple_form_for current_user, url: settings_preferences_path, html: { method: :put } do |f| = simple_form_for current_user, url: settings_preferences_path, html: { method: :put } do |f|
= render 'shared/error_messages', object: current_user = render 'shared/error_messages', object: current_user
.actions .actions.actions--top
= f.button :button, t('generic.save_changes'), type: :submit = f.button :button, t('generic.save_changes'), type: :submit
%h4= t 'preferences.languages' %h4= t 'preferences.languages'
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter