fix: PSK管理页面去掉max-width限制,与其他页面宽度一致
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="psks-page">
|
||||
<div class="page-header">
|
||||
<div>
|
||||
<div style="display:flex;justify-content:space-between;align-items:center">
|
||||
<h2>PSK 管理</h2>
|
||||
<el-button type="primary" @click="showAddDialog">
|
||||
<el-icon><Plus /></el-icon>
|
||||
@@ -8,7 +8,7 @@
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
<el-card class="tips-card">
|
||||
<el-card style="margin-top:16px">
|
||||
<el-alert type="info" :closable="false" show-icon>
|
||||
<template #title>
|
||||
PSK(预共享密钥)用于外部客户端(如 mediabot)接入认证。
|
||||
@@ -190,21 +190,6 @@ onMounted(fetchList)
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.psks-page {
|
||||
max-width: 960px;
|
||||
}
|
||||
.page-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.page-header h2 {
|
||||
margin: 0;
|
||||
font-size: 20px;
|
||||
}
|
||||
.tips-card {
|
||||
margin-top: 16px;
|
||||
}
|
||||
.secret-text {
|
||||
font-family: monospace;
|
||||
word-break: break-all;
|
||||
|
||||
Reference in New Issue
Block a user