diff options
author | René Gieling <github@dartcafe.de> | 2021-04-18 23:12:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-18 23:12:36 +0300 |
commit | cbeba6e6fcf83dd655a4b9a24afc6ebcf1569bdc (patch) | |
tree | 988435536a81c4c735c420c109edff175f83556a /src/js/components/Base | |
parent | 373eab67e7d338c7fa949b8ade9992fce73d066e (diff) |
Enhancement/option date picker (#1543)
* changed picker selection #1506
* changed design of picker buttons
Diffstat (limited to 'src/js/components/Base')
-rw-r--r-- | src/js/components/Base/Badge.vue | 1 | ||||
-rw-r--r-- | src/js/components/Base/Spacer.vue | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/src/js/components/Base/Badge.vue b/src/js/components/Base/Badge.vue index ec6fa616..82addc36 100644 --- a/src/js/components/Base/Badge.vue +++ b/src/js/components/Base/Badge.vue @@ -65,6 +65,7 @@ export default { line-height: 1.1em; overflow: hidden; text-overflow: ellipsis; + font-size: 14px; &.withIcon { padding-left: 25px !important; diff --git a/src/js/components/Base/Spacer.vue b/src/js/components/Base/Spacer.vue new file mode 100644 index 00000000..79ee3832 --- /dev/null +++ b/src/js/components/Base/Spacer.vue @@ -0,0 +1,43 @@ +<!-- + - @copyright Copyright (c) 2018 René Gieling <github@dartcafe.de> + - + - @author René Gieling <github@dartcafe.de> + - + - @license GNU AGPL version 3 or any later version + - + - This program is free software: you can redistribute it and/or modify + - it under the terms of the GNU Affero General Public License as + - published by the Free Software Foundation, either version 3 of the + - License, or (at your option) any later version. + - + - This program is distributed in the hope that it will be useful, + - but WITHOUT ANY WARRANTY; without even the implied warranty of + - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + - GNU Affero General Public License for more details. + - + - You should have received a copy of the GNU Affero General Public License + - along with this program. If not, see <http://www.gnu.org/licenses/>. + - + --> + +<template lang="html"> + <Component :is="tag" class="spacer" /> +</template> + +<script> +export default { + name: 'Spacer', + props: { + tag: { + type: String, + default: 'div', + }, + }, +} +</script> + +<style lang="scss" scoped> + .spacer { + flex: 1; + } +</style> |