Added styling

new-theme-ux
kibigo! 2017-12-10 20:24:11 -08:00
parent bdca1614d5
commit ed7231947c
2 changed files with 17 additions and 1 deletions

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;

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: ''