From 170da2d55fec0359cbac780786383710b734eda7 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Fri, 31 Jan 2020 09:17:57 +0100 Subject: viewer: code cleaning, moved some views to components --- viewer/src/components/LdCommand.vue | 68 +++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 viewer/src/components/LdCommand.vue (limited to 'viewer/src/components/LdCommand.vue') diff --git a/viewer/src/components/LdCommand.vue b/viewer/src/components/LdCommand.vue new file mode 100644 index 0000000..484e56a --- /dev/null +++ b/viewer/src/components/LdCommand.vue @@ -0,0 +1,68 @@ + + + + + + + -- cgit v1.2.3 From 4cf2727131829bd48c062896fdf237cf68a0b472 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Fri, 31 Jan 2020 14:05:09 +0100 Subject: viewer: Unify the minor size differences between command icons --- viewer/src/components/LdCommand.vue | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'viewer/src/components/LdCommand.vue') diff --git a/viewer/src/components/LdCommand.vue b/viewer/src/components/LdCommand.vue index 484e56a..07cb354 100644 --- a/viewer/src/components/LdCommand.vue +++ b/viewer/src/components/LdCommand.vue @@ -64,5 +64,11 @@ export default class LdCommand extends Vue { vertical-align: middle; align-items: center; width: $layout-left; + > * { + // Unify the minor size differences between icons + width: 26px; + height: 26px; + margin-top: 2px; + } } -- cgit v1.2.3 From a7b235d8874fe4ad1d7e7a5ce59510d9f55b857d Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Sun, 2 Feb 2020 03:11:30 +0100 Subject: viewer: fixed the command button's titles (somehow the `:` were removed before the commit) --- viewer/src/components/LdCommand.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'viewer/src/components/LdCommand.vue') diff --git a/viewer/src/components/LdCommand.vue b/viewer/src/components/LdCommand.vue index 07cb354..8c6ccfc 100644 --- a/viewer/src/components/LdCommand.vue +++ b/viewer/src/components/LdCommand.vue @@ -19,16 +19,16 @@