Compare commits
2 Commits
108a2bc033
...
f9ab875457
| Author | SHA1 | Date | |
|---|---|---|---|
| f9ab875457 | |||
| 9f80580b6b |
@ -140,7 +140,9 @@ function createTopicList() {
|
|||||||
topicList.style.width = '800px';
|
topicList.style.width = '800px';
|
||||||
topicList.style.boxShadow = '0 5px 15px rgba(0, 0, 0, 0.3)';
|
topicList.style.boxShadow = '0 5px 15px rgba(0, 0, 0, 0.3)';
|
||||||
topicList.style.maxHeight = 'calc(100vh - 8rem)';
|
topicList.style.maxHeight = 'calc(100vh - 8rem)';
|
||||||
|
topicList.style.boxSizing = 'border-box';
|
||||||
topicList.style.visibility = 'hidden';
|
topicList.style.visibility = 'hidden';
|
||||||
|
topicList.style.overflowY = 'scroll';
|
||||||
|
|
||||||
topicList.querySelectorAll('a').forEach(link => {
|
topicList.querySelectorAll('a').forEach(link => {
|
||||||
link.addEventListener('click', e => topicList.style.visibility = 'hidden');
|
link.addEventListener('click', e => topicList.style.visibility = 'hidden');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user