drag for mobile - handle sizeable
This commit is contained in:
@@ -27,6 +27,14 @@
|
||||
</p>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<?= $this->form->label(t('Mobile drag handle size in pixels'), 'tweakdrag_handle_size') ?>
|
||||
<?= $this->form->number('tweakdrag_handle_size', $values, $errors) ?>
|
||||
<p class="form-help">
|
||||
<?= t('Size of the card drag handle that Kanboard shows on mobile, so it is easy to grab with a finger. No effect on desktop. Default: 20.') ?>
|
||||
</p>
|
||||
</fieldset>
|
||||
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-blue"><?= t('Save') ?></button>
|
||||
</div>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<style type="text/css">
|
||||
:root {
|
||||
--td-column-gap: <?= (int) $this->app->config('tweakdrag_column_gap_size', 25) ?>px;
|
||||
--td-handle-size: <?= (int) $this->app->config('tweakdrag_handle_size', 20) ?>px;
|
||||
}
|
||||
<?php if ((int) $this->app->config('tweakdrag_column_gap', 1) === 1): ?>
|
||||
#board { border-collapse: separate !important; border-spacing: var(--td-column-gap, 25px) 0 !important; }
|
||||
|
||||
Reference in New Issue
Block a user