mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-28 09:28:29 +00:00
文件传输14-传输页面布局调整
This commit is contained in:
parent
1f71b724ba
commit
03c8d13eb9
@ -437,24 +437,42 @@
|
|||||||
.file-actions {
|
.file-actions {
|
||||||
align-self: flex-end;
|
align-self: flex-end;
|
||||||
}
|
}
|
||||||
} /* PC/Desktop 优化 - 1024px 及以上 */
|
} /* PC/Desktop 优化 - 1024px 及以上 - 横向布局 */
|
||||||
@media (min-width: 1024px) {
|
@media (min-width: 1024px) {
|
||||||
.file-transfer-section {
|
.file-transfer-section {
|
||||||
|
flex-direction: row;
|
||||||
gap: 2rem;
|
gap: 2rem;
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
max-height: 60vh;
|
max-height: 75vh;
|
||||||
overflow-y: auto;
|
align-items: stretch;
|
||||||
}
|
}
|
||||||
|
|
||||||
.send-files, .received-files {
|
.send-files, .received-files {
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
|
flex: 1;
|
||||||
|
max-width: calc(50% - 1rem);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 调整发送文件区域 */
|
||||||
|
.send-files {
|
||||||
|
order: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 调整接收文件区域 */
|
||||||
|
.received-files {
|
||||||
|
order: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.file-list {
|
.file-list {
|
||||||
max-height: 250px;
|
max-height: 400px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.file-drop-zone {
|
||||||
|
min-height: 140px;
|
||||||
|
padding: 2rem 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
/* 优化PC端文件列表滚动条 */
|
/* 优化PC端文件列表滚动条 */
|
||||||
.file-list::-webkit-scrollbar {
|
.file-list::-webkit-scrollbar {
|
||||||
width: 6px;
|
width: 6px;
|
||||||
@ -473,26 +491,33 @@
|
|||||||
.file-list::-webkit-scrollbar-thumb:hover {
|
.file-list::-webkit-scrollbar-thumb:hover {
|
||||||
background: rgba(255, 255, 255, 0.2);
|
background: rgba(255, 255, 255, 0.2);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
/* 优化整体区域滚动条 */
|
|
||||||
.file-transfer-section::-webkit-scrollbar {
|
/* 超大桌面屏幕优化 - 1440px 及以上 */
|
||||||
width: 6px;
|
@media (min-width: 1440px) {
|
||||||
|
.file-transfer-section {
|
||||||
|
gap: 2.5rem;
|
||||||
|
max-height: 80vh;
|
||||||
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.file-transfer-section::-webkit-scrollbar-track {
|
.send-files, .received-files {
|
||||||
background: rgba(255, 255, 255, 0.02);
|
padding: 2rem;
|
||||||
border-radius: 3px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.file-transfer-section::-webkit-scrollbar-thumb {
|
.file-list {
|
||||||
background: rgba(255, 255, 255, 0.1);
|
max-height: 450px;
|
||||||
border-radius: 3px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.file-transfer-section::-webkit-scrollbar-thumb:hover {
|
.file-drop-zone {
|
||||||
background: rgba(255, 255, 255, 0.2);
|
min-height: 160px;
|
||||||
|
padding: 2.5rem 2rem;
|
||||||
}
|
}
|
||||||
} /* 平板优化 - 768px 到 1023px */
|
|
||||||
|
.file-item {
|
||||||
|
padding: 1.2rem;
|
||||||
|
}
|
||||||
|
}/* 平板优化 - 768px 到 1023px */
|
||||||
@media (min-width: 768px) and (max-width: 1023px) {
|
@media (min-width: 768px) and (max-width: 1023px) {
|
||||||
.file-transfer-section {
|
.file-transfer-section {
|
||||||
gap: 1.8rem;
|
gap: 1.8rem;
|
||||||
|
@ -435,15 +435,17 @@
|
|||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}.setup-option {
|
} .setup-option {
|
||||||
max-width: 300px;
|
max-width: 300px;
|
||||||
min-height: 120px;
|
min-height: 120px;
|
||||||
max-height: 200px;
|
max-height: 200px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
text-align: center;
|
||||||
}.divider {
|
}.divider {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -505,12 +507,14 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}.setup-option {
|
} .setup-option {
|
||||||
padding: 1.2rem;
|
padding: 1.2rem;
|
||||||
min-height: 140px;
|
min-height: 140px;
|
||||||
max-height: 220px;
|
max-height: 220px;
|
||||||
max-width: 280px;
|
max-width: 280px;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
align-items: center;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.setup-option h3 {
|
.setup-option h3 {
|
||||||
@ -540,12 +544,13 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
} .setup-option {
|
||||||
.setup-option {
|
|
||||||
max-width: 320px;
|
max-width: 320px;
|
||||||
min-height: 160px;
|
min-height: 160px;
|
||||||
max-height: 240px;
|
max-height: 240px;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
align-items: center;
|
||||||
|
text-align: center;
|
||||||
}.divider {
|
}.divider {
|
||||||
min-width: 70px;
|
min-width: 70px;
|
||||||
max-width: 90px;
|
max-width: 90px;
|
||||||
@ -558,12 +563,13 @@
|
|||||||
max-width: 650px;
|
max-width: 650px;
|
||||||
max-height: 400px;
|
max-height: 400px;
|
||||||
}
|
}
|
||||||
|
.setup-option {
|
||||||
.setup-option {
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 550px;
|
max-width: 550px;
|
||||||
min-height: 130px;
|
min-height: 130px;
|
||||||
max-height: 180px;
|
max-height: 180px;
|
||||||
|
align-items: center;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.divider {
|
.divider {
|
||||||
|
@ -270,9 +270,7 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 2.5rem;
|
gap: 2.5rem;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
}
|
} .send-text, .received-text {
|
||||||
|
|
||||||
.send-text, .received-text {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 1.5rem;
|
gap: 1.5rem;
|
||||||
@ -282,6 +280,8 @@
|
|||||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||||
backdrop-filter: blur(8px);
|
backdrop-filter: blur(8px);
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
|
align-items: center;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 新消息状态的特殊样式 */
|
/* 新消息状态的特殊样式 */
|
||||||
@ -311,9 +311,7 @@
|
|||||||
transform: translateY(-2px);
|
transform: translateY(-2px);
|
||||||
box-shadow: 0 8px 35px rgba(102, 126, 234, 0.3);
|
box-shadow: 0 8px 35px rgba(102, 126, 234, 0.3);
|
||||||
border-color: rgba(102, 126, 234, 0.4);
|
border-color: rgba(102, 126, 234, 0.4);
|
||||||
}
|
} .send-text h4, .received-text h4 {
|
||||||
|
|
||||||
.send-text h4, .received-text h4 {
|
|
||||||
margin: 0 0 1rem 0;
|
margin: 0 0 1rem 0;
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
@ -323,9 +321,10 @@
|
|||||||
background-clip: text;
|
background-clip: text;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
.text-input {
|
width: 100%;
|
||||||
|
} .text-input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
@ -336,9 +335,13 @@
|
|||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
font-size: 0.95rem;
|
font-size: 0.95rem;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
min-height: 120px;
|
min-height: 100px;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
backdrop-filter: blur(4px);
|
backdrop-filter: blur(4px);
|
||||||
|
text-align: left;
|
||||||
|
align-self: center;
|
||||||
|
margin: 0 auto;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-input:focus {
|
.text-input:focus {
|
||||||
@ -352,23 +355,21 @@
|
|||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
transform: none;
|
transform: none;
|
||||||
}
|
} .text-display {
|
||||||
|
|
||||||
.text-display {
|
|
||||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
background: rgba(255, 255, 255, 0.02);
|
background: rgba(255, 255, 255, 0.02);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
backdrop-filter: blur(4px);
|
backdrop-filter: blur(4px);
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
|
align-self: stretch;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-display:hover {
|
.text-display:hover {
|
||||||
border-color: rgba(255, 255, 255, 0.15);
|
border-color: rgba(255, 255, 255, 0.15);
|
||||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
||||||
}
|
} .text-content {
|
||||||
|
|
||||||
.text-content {
|
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
@ -377,7 +378,7 @@
|
|||||||
font-size: 0.95rem;
|
font-size: 0.95rem;
|
||||||
background: rgba(255, 255, 255, 0.01);
|
background: rgba(255, 255, 255, 0.01);
|
||||||
min-height: 60px;
|
min-height: 60px;
|
||||||
max-height: 300px;
|
max-height: 200px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
||||||
}
|
}
|
||||||
@ -398,15 +399,14 @@
|
|||||||
|
|
||||||
.text-content::-webkit-scrollbar-thumb:hover {
|
.text-content::-webkit-scrollbar-thumb:hover {
|
||||||
background: rgba(255, 255, 255, 0.2);
|
background: rgba(255, 255, 255, 0.2);
|
||||||
}
|
} .text-actions {
|
||||||
|
|
||||||
.text-actions {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 0.75rem;
|
gap: 0.75rem;
|
||||||
padding: 1rem 1.5rem;
|
padding: 1rem 1.5rem;
|
||||||
background: rgba(255, 255, 255, 0.01);
|
background: rgba(255, 255, 255, 0.01);
|
||||||
justify-content: flex-end;
|
justify-content: center;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
align-self: stretch;
|
||||||
}
|
}
|
||||||
|
|
||||||
.copy-btn, .clear-btn {
|
.copy-btn, .clear-btn {
|
||||||
@ -483,51 +483,130 @@
|
|||||||
100% {
|
100% {
|
||||||
left: 100%;
|
left: 100%;
|
||||||
}
|
}
|
||||||
} /* 移动端响应式 */ /* PC/Desktop 优化 - 1024px 及以上 */
|
} /* 移动端响应式 */ /* PC/Desktop 优化 - 1024px 及以上 - 横向布局 */
|
||||||
@media (min-width: 1024px) {
|
@media (min-width: 1024px) {
|
||||||
.text-sharing-section {
|
.text-sharing-section {
|
||||||
|
flex-direction: row;
|
||||||
gap: 2rem;
|
gap: 2rem;
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
max-height: 60vh;
|
max-height: 55vh;
|
||||||
|
align-items: stretch;
|
||||||
|
} .send-text, .received-text {
|
||||||
|
padding: 1.5rem;
|
||||||
|
flex: 1;
|
||||||
|
max-width: calc(50% - 1rem);
|
||||||
|
align-items: center;
|
||||||
|
text-align: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
/* 确保标题在PC端居中 */
|
||||||
|
.send-text h4, .received-text h4 {
|
||||||
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
margin: 0 auto 1rem auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 确保输入框在PC端居中 */
|
||||||
|
.text-input {
|
||||||
|
align-self: center;
|
||||||
|
margin: 0 auto;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 调整发送文本区域 */
|
||||||
|
.send-text {
|
||||||
|
order: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 调整接收文本区域 */
|
||||||
|
.received-text {
|
||||||
|
order: 2;
|
||||||
|
}
|
||||||
|
.text-content {
|
||||||
|
max-height: 250px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.send-text, .received-text {
|
|
||||||
padding: 1.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-content {
|
|
||||||
max-height: 250px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-input {
|
.text-input {
|
||||||
min-height: 120px;
|
min-height: 200px;
|
||||||
|
max-height: 250px;
|
||||||
|
resize: vertical;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 优化PC端滚动条 */
|
/* 优化PC端滚动条 */
|
||||||
.text-sharing-section::-webkit-scrollbar {
|
.text-content::-webkit-scrollbar,
|
||||||
|
.text-input::-webkit-scrollbar {
|
||||||
width: 6px;
|
width: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-sharing-section::-webkit-scrollbar-track {
|
.text-content::-webkit-scrollbar-track,
|
||||||
|
.text-input::-webkit-scrollbar-track {
|
||||||
background: rgba(255, 255, 255, 0.02);
|
background: rgba(255, 255, 255, 0.02);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-sharing-section::-webkit-scrollbar-thumb {
|
.text-content::-webkit-scrollbar-thumb,
|
||||||
|
.text-input::-webkit-scrollbar-thumb {
|
||||||
background: rgba(255, 255, 255, 0.1);
|
background: rgba(255, 255, 255, 0.1);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-sharing-section::-webkit-scrollbar-thumb:hover {
|
.text-content::-webkit-scrollbar-thumb:hover,
|
||||||
|
.text-input::-webkit-scrollbar-thumb:hover {
|
||||||
background: rgba(255, 255, 255, 0.2);
|
background: rgba(255, 255, 255, 0.2);
|
||||||
}
|
}
|
||||||
|
} /* 超大桌面屏幕优化 - 1440px 及以上 */
|
||||||
|
@media (min-width: 1440px) {
|
||||||
|
.text-sharing-section {
|
||||||
|
gap: 2.5rem;
|
||||||
|
max-height: 60vh;
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
.send-text, .received-text {
|
||||||
|
padding: 2rem;
|
||||||
|
align-items: center;
|
||||||
|
text-align: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
/* 确保大桌面端标题居中 */
|
||||||
|
.send-text h4, .received-text h4 {
|
||||||
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
margin: 0 auto 1rem auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 确保大桌面端输入框居中 */
|
||||||
|
.text-input {
|
||||||
|
align-self: center;
|
||||||
|
margin: 0 auto;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-content {
|
||||||
|
max-height: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-input {
|
||||||
|
min-height: 250px;
|
||||||
|
max-height: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-actions {
|
||||||
|
gap: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.copy-btn, .clear-btn {
|
||||||
|
padding: 0.9rem 1.5rem;
|
||||||
|
font-size: 0.95rem;
|
||||||
|
}
|
||||||
} /* 平板优化 - 768px 到 1023px */
|
} /* 平板优化 - 768px 到 1023px */
|
||||||
@media (min-width: 768px) and (max-width: 1023px) {
|
@media (min-width: 768px) and (max-width: 1023px) {
|
||||||
.text-sharing-section {
|
.text-sharing-section {
|
||||||
gap: 1.8rem;
|
gap: 1.8rem;
|
||||||
padding: 0.75rem;
|
padding: 0.75rem;
|
||||||
max-height: 50vh;
|
max-height: 40vh;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -536,7 +615,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.text-content {
|
.text-content {
|
||||||
max-height: 280px;
|
max-height: 200px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -602,7 +681,35 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.notification-text span {
|
.notification-text span {
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ActionButton居中样式 */
|
||||||
|
.send-text :global(.action-button) {
|
||||||
|
align-self: center;
|
||||||
|
margin: 0 auto;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* PC端ActionButton居中 */
|
||||||
|
@media (min-width: 1024px) {
|
||||||
|
.send-text :global(.action-button) {
|
||||||
|
align-self: center;
|
||||||
|
margin: 0 auto;
|
||||||
|
display: block;
|
||||||
|
width: auto;
|
||||||
|
max-width: 200px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 大桌面端ActionButton居中 */
|
||||||
|
@media (min-width: 1440px) {
|
||||||
|
.send-text :global(.action-button) {
|
||||||
|
align-self: center;
|
||||||
|
margin: 0 auto;
|
||||||
|
display: block;
|
||||||
|
width: auto;
|
||||||
|
max-width: 220px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -727,17 +727,20 @@
|
|||||||
} /* Responsive Design */ /* PC/Desktop 优化 - 1024px 及以上 */
|
} /* Responsive Design */ /* PC/Desktop 优化 - 1024px 及以上 */
|
||||||
@media (min-width: 1024px) {
|
@media (min-width: 1024px) {
|
||||||
.clipboard-container {
|
.clipboard-container {
|
||||||
max-height: 85vh;
|
max-height: 95vh;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-content {
|
.tab-content {
|
||||||
max-height: 65vh;
|
max-height: 85vh;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
/* 改善滚动条样式 */
|
padding: 1rem;
|
||||||
|
/* 确保子组件可以使用横向布局 */
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-content::-webkit-scrollbar {
|
.tab-content::-webkit-scrollbar {
|
||||||
@ -762,15 +765,24 @@
|
|||||||
.session-management-section {
|
.session-management-section {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
} /* 平板优化 - 768px 到 1023px */
|
} /* 超大桌面屏幕优化 - 1440px 及以上 */
|
||||||
@media (min-width: 768px) and (max-width: 1023px) {
|
@media (min-width: 1440px) {
|
||||||
.clipboard-container {
|
.clipboard-container {
|
||||||
max-height: 80vh;
|
max-height: 98vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-content {
|
||||||
|
max-height: 90vh;
|
||||||
|
padding: 1.5rem;
|
||||||
|
}
|
||||||
|
}/* 平板优化 - 768px 到 1023px */ @media (min-width: 768px) and (max-width: 1023px) {
|
||||||
|
.clipboard-container {
|
||||||
|
max-height: 90vh;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-content {
|
.tab-content {
|
||||||
max-height: 55vh;
|
max-height: 70vh;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user