视频播放返回按钮样式优化

This commit is contained in:
禺狨 2023-03-27 09:51:13 +08:00
parent 49061afdc8
commit e1ce7d8b47
3 changed files with 10 additions and 2 deletions

View File

@ -93,6 +93,10 @@ h1 {
margin-top: 10px;
}
.ml-14 {
margin-left: 14px;
}
.ml-15 {
margin-left: 15px;
}

View File

@ -30,12 +30,14 @@
height: 40px;
display: flex;
align-items: center;
padding-left: 30px;
font-size: 14px;
font-weight: 400;
color: #ffffff;
line-height: 24px;
cursor: pointer;
&:hover {
opacity: 0.8;
}
}
}
}

View File

@ -1,6 +1,7 @@
import React, { useState, useEffect } from "react";
import styles from "./video.module.scss";
import { course } from "../../../api/index";
import { ArrowLeftOutlined } from "@ant-design/icons";
declare const window: any;
@ -85,7 +86,8 @@ export const VideoModel: React.FC<PropInterface> = ({
onCancel();
}}
>
<ArrowLeftOutlined />
<span className="ml-14"></span>
</div>
</div>
</div>