Fix 天气信息超出边界

This commit is contained in:
底层用户 2022-05-29 11:19:48 +08:00
parent 34e9007870
commit 20e8d972e3
3 changed files with 16 additions and 5 deletions

View File

@ -477,6 +477,12 @@ span.time-text {
font-family: 'UnidreamLED' !important;
}
.weather {
display: flex;
flex-direction: row;
justify-content: center;
}
/*分割线*/
.line {
margin: 1rem 0.25rem;

View File

@ -37,9 +37,7 @@
src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-y/izitoast/1.4.0/js/iziToast.min.js">
</script>
<!-- FontAwesome -->
<link rel="stylesheet"
href="https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f2eac667-5d8e-404a-aa05-70088e3eebfd/fb74713f-7e1d-40d6-8b25-2171a185b8b3.css"
media="all">
<link rel="stylesheet" href="https://file.imsyy.top/font/fontawesome/css/pro.min.css">
<!-- Aplayer -->
<link rel="stylesheet" href="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-y/aplayer/1.10.1/APlayer.min.css"
crossorigin="anonymous" referrerpolicy="no-referrer" />

View File

@ -48,7 +48,14 @@ $.ajax({
if ($(document).width() >= 990) {
$('.power').css("cssText", "display:none");
$('#lrc').css("cssText", "display:block !important");
}
};
// Notification.requestPermission().then(res => {
// console.log(res)
// });
// new Notification('音乐通知', {
// body: '正在播放:' + music,
// tag: 1
// });
});
ap.on('pause', function () {