mirror of
https://github.com/ExamAware/ExamSchedule.git
synced 2025-04-29 19:16:33 +00:00
fix: 调整房间元素位置以改善布局
This commit is contained in:
parent
b1246844b0
commit
943bb06df8
@ -43,6 +43,8 @@ document.addEventListener("DOMContentLoaded", () => {
|
|||||||
examNameElem.textContent = currentText.replace(/考试安排.*/, newText);
|
examNameElem.textContent = currentText.replace(/考试安排.*/, newText);
|
||||||
// Display message
|
// Display message
|
||||||
messageElem.textContent = data.message;
|
messageElem.textContent = data.message;
|
||||||
|
roomElem.style.position = "absolute";
|
||||||
|
roomElem.style.right = "20px";
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateCurrentTime() {
|
function updateCurrentTime() {
|
||||||
|
@ -81,6 +81,8 @@ h1 {
|
|||||||
font-size: 3.5rem;
|
font-size: 3.5rem;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #e0e0e0;
|
color: #e0e0e0;
|
||||||
|
position: absolute;
|
||||||
|
right: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#message {
|
#message {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user