Commit 1a39095c authored by 范雪寒's avatar 范雪寒

feat: 修改图片与文字框位置以及图片大小

parent 2b5f72de
This source diff could not be displayed because it is too large. You can view the blob instead.
<div class="body-bg"></div>
<div class="player-border">
<div class="question-container">
<div class="img-bar" nz-row nzType="flex" nzJustify="space-around">
<div class="img-bar" nzType="flex" nzJustify="space-around">
<div
class="img-wrap tip-border"
*ngFor="let item of _data"
nz-col
nzSpan="6"
[@tip-border]="item.state || 'none'"
(click)="handleTap($event, item);$event.preventDefault()"
>
......
......@@ -42,17 +42,18 @@ $my_width: percentage(4/12);
display: flex;
justify-content: center;
align-items: center;
width: 100%;
width: 90%;
height: 65%;
.img-wrap {
margin: 1rem;
margin: 0.5rem;
display: flex;
justify-content: center;
align-items: center;
background: #ffffff;
position: relative;
padding-bottom: 17%;
height: 0;
padding-right: 31.5%;
padding-bottom: 23%;
overflow: hidden;
border: 0.8rem solid #fff;
border-radius: 1rem;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment