- <div class="problem col-sm-12" @click="showProblem()">
- <div class="diagram" v-html="getDiagram(prob.fen)"></div>
- <div class="problem-instructions" v-html="prob.instructions.substr(0,32)"></div>
- <div class="problem-time">{{ timestamp2date(prob.added) }}</div>
+ <div class="problem row" @click="showProblem()">
+ <div class="col-sm-12 col-md-6 col-lg-3 diagram"
+ v-html="getDiagram(prob.fen)">
+ </div>
+ <div class="col-sm-12 col-md-6 col-lg-9">
+ <p v-html="prob.instructions"></p>
+ <p v-if="preview" v-html="prob.solution"></p>
+ <p v-else class="problem-time">{{ timestamp2date(prob.added) }}</p>
+ </div>