Skip to content

Commit

Permalink
Shrink setting items
Browse files Browse the repository at this point in the history
  • Loading branch information
OctoNezd committed Dec 30, 2023
1 parent df5d1b8 commit 88c8fcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/extensionPreferences/css/olPreferences.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ body.olPreferencesOpen {
}
.ol-setting {
cursor: pointer;
height: 72px;
height: 54px;
display: flex;
flex-direction: row;
justify-content: center;
Expand Down
2 changes: 1 addition & 1 deletion src/features/sidebar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default class Sidebar extends OLFeature {
console.log("Initializing Sidebar");
for (const setting of toggleAbles) {
this.settingOptions.push(
new SettingToggle(setting.name, "", setting.settingId, (toggle) => {
new SettingToggle(setting.name, setting.name + " button in sidebar", setting.settingId, (toggle) => {
if (toggle) {
document.documentElement.classList.add(setting.className)
} else {
Expand Down

0 comments on commit 88c8fcc

Please sign in to comment.