mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
ui improvements + remove unused code
This commit is contained in:
@@ -51,7 +51,7 @@ const Settings: React.FC = () => {
|
|||||||
{
|
{
|
||||||
title: "Edit Sidebar Layout",
|
title: "Edit Sidebar Layout",
|
||||||
description: "Customise the sidebar layout.",
|
description: "Customise the sidebar layout.",
|
||||||
modifyElement: <button onClick={() => chrome.runtime.sendMessage({ type: 'currentTab', info: 'EditSidebar' })} className='px-4 py-1 text-[0.75rem] bg-blue-500 rounded-md'>Edit</button>
|
modifyElement: <button onClick={() => chrome.runtime.sendMessage({ type: 'currentTab', info: 'EditSidebar' })} className='px-4 py-1 text-[0.75rem] dark:bg-[#38373D] bg-[#DDDDDD] dark:text-white rounded-md'>Edit</button>
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Transparency Effects",
|
title: "Transparency Effects",
|
||||||
|
|||||||
@@ -940,7 +940,6 @@ export function OpenMenuOptions() {
|
|||||||
const element = ListItems[i];
|
const element = ListItems[i];
|
||||||
|
|
||||||
element.classList.add('draggable');
|
element.classList.add('draggable');
|
||||||
element.setAttribute('draggable', true);
|
|
||||||
if (element.classList.contains('hasChildren')) {
|
if (element.classList.contains('hasChildren')) {
|
||||||
element.classList.remove('active');
|
element.classList.remove('active');
|
||||||
menu.firstChild.classList.remove('noscroll');
|
menu.firstChild.classList.remove('noscroll');
|
||||||
|
|||||||
@@ -1667,10 +1667,11 @@ body {
|
|||||||
--menuHidden: none;
|
--menuHidden: none;
|
||||||
}
|
}
|
||||||
.editmenuoption {
|
.editmenuoption {
|
||||||
padding: 8px;
|
background: var(--background-primary);
|
||||||
background: var(--better-light);
|
color: var(--text-primary);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
margin: 0 10px;
|
margin: 0 10px;
|
||||||
|
padding: 8px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.editmenuoption-container {
|
.editmenuoption-container {
|
||||||
|
|||||||
Reference in New Issue
Block a user