Added styling

main
kibigo! 7 years ago
parent bdca1614d5
commit ed7231947c

@ -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 { .report-accounts {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;

@ -5,7 +5,7 @@
= render 'shared/error_messages', object: current_user = render 'shared/error_messages', object: current_user
- Themes.instance.flavour(@selected)['screenshot'].each do |screen| - 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 .flavour-description
= t "flavours.#{@selected}.description", default: '' = t "flavours.#{@selected}.description", default: ''

Loading…
Cancel
Save