Преглед на файлове

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

master
Eugen Rochko преди 6 години
committed by GitHub
родител
ревизия
473a69ab18
No known key found for this signature in database GPG ключ ID: 4AEE18F83AFDEB23
променени са 3 файла, в които са добавени 8 реда и са изтрити 6 реда
  1. +2
    -5
      app/javascript/styles/mastodon/about.scss
  2. +5
    -0
      app/javascript/styles/mastodon/forms.scss
  3. +1
    -1
      app/views/settings/preferences/show.html.haml

+ 2
- 5
app/javascript/styles/mastodon/about.scss Целия файл

@@ -15,8 +15,6 @@ $small-breakpoint: 960px;
}
}



.landing-page {
.grid {
display: grid;
@@ -51,7 +49,6 @@ $small-breakpoint: 960px;
}

@media screen and (max-width: $small-breakpoint) {

.grid {
grid-template-columns: 40% 60%;

@@ -633,8 +630,8 @@ $small-breakpoint: 960px;
align-items: flex-end;

.information-board__section {
flex: 1 0 80px;
padding: 0 5px;
flex: 1 0 auto;
padding: 0 10px;
}
}



+ 5
- 0
app/javascript/styles/mastodon/forms.scss Целия файл

@@ -278,6 +278,11 @@ code {
.actions {
margin-top: 30px;
display: flex;

&.actions--top {
margin-top: 0;
margin-bottom: 30px;
}
}

button,


+ 1
- 1
app/views/settings/preferences/show.html.haml Целия файл

@@ -4,7 +4,7 @@
= simple_form_for current_user, url: settings_preferences_path, html: { method: :put } do |f|
= render 'shared/error_messages', object: current_user

.actions
.actions.actions--top
= f.button :button, t('generic.save_changes'), type: :submit

%h4= t 'preferences.languages'


Зареждане…
Отказ
Запис