Skip to content

Commit 4f2720b

Browse files
committed
v1.2.1 - Choose editor theme, fix & improve ButtonSelect
1 parent 8a2ab6d commit 4f2720b

4 files changed

Lines changed: 6 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "tch-filector",
33
"productName": "FileCtor",
4-
"version": "1.2.0",
4+
"version": "1.2.1",
55
"author": "Tomas Chyly <chyly@tomas-chyly.com> (https://tomas-chyly.com/en/)",
66
"license": "GPL v3",
77
"description": "File inspector with interactive javascript console.",

src/component/buttonSelect.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*** ButtonSelect styles ***/
2-
.button-select-container { display: block; }
2+
.button-select-container { display: block; margin-bottom: 16px; }
3+
.button-select-container button { margin-bottom: 0; }
34
.button-select-list { display: none; position: absolute; overflow: hidden; overflow-y: auto; width: auto; max-width: 162px; height: auto; max-height: 162px; left: 0; top: 0; z-index: 10; border: 2px solid black; border-radius: 8px; background: white; }
45
.button-select-list.visible { display: block; }
56
.button-select-list.general-fade { display: none; }

src/index.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ img { max-width: 100%; }
171171
.tch-grid-pagesize span { padding-right: 8px; }
172172
.tch-grid-page .button-select-list,
173173
.tch-grid-pagesize .button-select-list { min-width: 60px; }
174+
.tch-grid .button-select-container { margin-bottom: 0; }
174175

175176
/*** Responsive styles ***/
176177
@media (min-width: 576px) {

src/view/Settings.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ class Settings extends Component {
4949
*/
5050
componentDidMount () {
5151
window.TCH.Main.SetTitle ('Settings');
52+
53+
document.querySelector ('#content .settings').addEventListener ('scroll', window.ButtonSelect_static.globalHideOptionsListener);
5254
}
5355

5456
/**

0 commit comments

Comments
 (0)