Skip to content

Commit

Permalink
chore: cleantup after d22012f
Browse files Browse the repository at this point in the history
  • Loading branch information
onemen committed Oct 21, 2024
1 parent 31128d3 commit 9d8f5d3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
16 changes: 9 additions & 7 deletions addon/chrome/content/preferences/appearance.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,15 @@
</menulist>
</hbox>
</box>
<vbox id="multi-rows" class="indent" style="height: 54px;">
<hbox align="center" id="maxbar">
<label value="&maxrow.label;" TSTdisabled="true"/>
<html:input id="maxrow" size="2" maxlength="2" preference="pref_maxrow" type="number" required="required" min="2"/>
</hbox>
<checkbox_tmp id="pinnedTabScroll" label="&pinnedTabScroll.label;"
preference="pref_pinnedTabScroll"/>
<vbox style="height: 54px;">
<vbox id="multi-rows" class="indent">
<hbox align="center" id="maxbar">
<label value="&maxrow.label;" TSTdisabled="true"/>
<html:input id="maxrow" size="2" maxlength="2" preference="pref_maxrow" type="number" required="required" min="2"/>
</hbox>
<checkbox_tmp id="pinnedTabScroll" label="&pinnedTabScroll.label;"
preference="pref_pinnedTabScroll"/>
</vbox>
</vbox>
<checkbox_tmp id="smoothScroll" label="&smoothScroll.label;" preference="pref_smoothScroll"/>
<hbox align="center" id="clickToScroll.scrollDelay">
Expand Down
3 changes: 3 additions & 0 deletions addon/chrome/content/preferences/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ var gSessionPane = {
if (TabmixSvc.isLinux)
$("sessionManager-panels").setAttribute("linux", "true");

// while we don't use session manager always set `Advanced Setting` as selected tab
$("session").selectedIndex = 2;

this.isSessionStoreEnabled(true);
this.updateSessionShortcuts();

Expand Down
2 changes: 0 additions & 2 deletions addon/chrome/skin/tabmix-preferences.css
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ tab.subtabs:focus-visible > .tab-middle > .tab-text {
}

#TabMIxPreferences:not([ubuntu]) .groupbox-panels:not(.tabclick) {
appearance: groupbox;
padding: 3px 3px 6px 3px;
}

Expand Down Expand Up @@ -324,7 +323,6 @@ tabbox > tabpanels:last-child {
}

#TabMIxPreferences[mac] prefpane .groupbox-body {
appearance: groupbox;
padding-top: 2px;
margin-bottom: 2px;
}
Expand Down

0 comments on commit 9d8f5d3

Please sign in to comment.