Commit cf2dea9f authored by 박민석's avatar 박민석

update style

parent 4ed961b1
Pipeline #21901 passed with stages
in 4 minutes and 19 seconds
......@@ -174,6 +174,7 @@ body {
.navbar-item.has-dropdown {
padding: 0;
width: 145px;
}
.navbar-item .icon {
......
......@@ -3,12 +3,14 @@
'use strict'
const chatButton = document.querySelector('.chat-btn')
const topButton = document.querySelector('.top-scroll-btn')
const menu = document.querySelector('.navbar-menu')
// 네트워크 상태 확인 및 버튼 제어
function checkIfLocalFile () {
if (window.location.protocol === 'file:') {
if (window.location.protocol !== 'file:') {
chatButton.style.display = 'none' // 오프라인 상태면 chatButton 숨김
topButton.style.bottom = '20px'
menu.style.display = 'none'
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment