Browse Source

Added styling

closed-social-glitch-2
kibigo! 7 years ago
parent
commit
ed7231947c
2 changed files with 17 additions and 1 deletions
  1. +16
    -0
      app/javascript/flavours/glitch/styles/admin.scss
  2. +1
    -1
      app/views/settings/flavours/show.html.haml

+ 16
- 0
app/javascript/flavours/glitch/styles/admin.scss View File

@ -246,6 +246,22 @@
}
}
.flavour-screen {
display: block;
margin: 10px auto;
max-width: 100%;
}
.flavour-description {
display: block;
font-size: 16px;
margin: 10px 0;
& > p {
margin: 10px 0;
}
}
.report-accounts {
display: flex;
flex-wrap: wrap;

+ 1
- 1
app/views/settings/flavours/show.html.haml View File

@ -5,7 +5,7 @@
= render 'shared/error_messages', object: current_user
- Themes.instance.flavour(@selected)['screenshot'].each do |screen|
%img.flavour-screen{ width: 700, src: asset_pack_path(screen) }
%img.flavour-screen{ src: asset_pack_path(screen) }
.flavour-description
= t "flavours.#{@selected}.description", default: ''

Loading…
Cancel
Save