Skip to content

Commit 561ebf3

Browse files
committed
fix(zoom): card buttons opacity causes a layout shift
1 parent e8e5844 commit 561ebf3

4 files changed

Lines changed: 12 additions & 7 deletions

File tree

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "lineage",
33
"name": "Lineage",
4-
"version": "0.7.1-beta",
4+
"version": "0.8.0",
55
"minAppVersion": "0.15.0",
66
"description": "Edit Markdown in a keyboard-centric Miller columns interface. Inspired by Gingko Writer.",
77
"author": "ycnmhd",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lineage",
3-
"version": "0.7.0-beta",
3+
"version": "0.8.0",
44
"description": "",
55
"scripts": {
66
"dev": "node esbuild.config.mjs",

src/lang/lang.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const lang = {
2828
// edit
2929
settings_general_maintain_edit_mode: 'Maintain edit mode',
3030
settings_general_maintain_edit_mode_desc:
31-
'Keeps edit mode active when switching to a different card using the mouse',
31+
'Keeps edit mode active when switching to a different card using the mouse or keyboard',
3232
card_btn_edit: 'Edit',
3333
hk_enable_edit_mode: 'Edit card',
3434
hk_enable_edit_mode_and_place_cursor_at_start:
@@ -37,9 +37,9 @@ export const lang = {
3737
'Edit card and place cursor at the end',
3838
hkg_edit_cards: 'Edit cards',
3939
modals_snapshots_updated_card: 'Updated card ',
40-
modal_hk_editor_state_on: 'Enable only when the editor is on',
41-
modal_hk_editor_state_off: 'Enable only when the editor is off',
42-
modal_hk_editor_state_both: 'Enable both when the editor is on or off',
40+
modal_hk_editor_state_on: 'Enable only when the editor is active',
41+
modal_hk_editor_state_off: 'Enable only when the editor is inactive',
42+
modal_hk_editor_state_both: "Enable regardless of the editor's state",
4343

4444
// save
4545
card_btn_save: 'Save',

src/styles/layout/modes.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
}
4646
}
4747

48-
& .column{
48+
& .column {
4949
/* to show outline card buttons*/
5050
padding: 0 calc(1 / var(--zoom-level) * 50vw);
5151
}
@@ -94,6 +94,11 @@
9494
transition: none !important;
9595
}
9696
}
97+
#columns-container.zoom-enabled {
98+
.lineage-floating-button {
99+
opacity: 0.5 !important;
100+
}
101+
}
97102

98103
/* hides floating buttons when the mouse is inactive*/
99104
.hide-floating-buttons {

0 commit comments

Comments
 (0)