Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd48aeca authored by julia.kirschenheuter's avatar julia.kirschenheuter
Browse files

Adjust CalendarListNew for menu with link

parent 2d6fad37
Loading
Loading
Loading
Loading
+12 −6
Original line number Diff line number Diff line
@@ -23,12 +23,11 @@
	<AppNavigationItem
		class="app-navigation-entry-new-calendar"
		:class="{'app-navigation-entry-new-calendar--open': isOpen}"
		:title="$t('calendar', '+ New calendar')"
		:menu-open.sync="isOpen"
		menu-icon="icon-add"
		:use-title-as-action-trigger="true"
		:title="$t('calendar', 'Add calendar')"
		@click.prevent.stop="toggleDialog">
		<template #menu-icon>
			<Plus :size="20" decorative />
		<template #icon>
			<Plus :size="20" decorative fill-color="var(--color-text-maxcontrast)" />
		</template>
		<template slot="actions">
			<ActionButton
@@ -83,7 +82,7 @@
				<template #icon>
					<LinkVariant :size="20" decorative />
				</template>
				{{ $t('calendar', 'New subscription from link (read-only)') }}
				{{ $t('calendar', 'Subscription from link (read-only)') }}
			</ActionButton>
			<ActionInput
				v-if="showCreateSubscriptionInput"
@@ -314,3 +313,10 @@ export default {
	},
}
</script>

<style scoped>
.app-navigation-entry-new-calendar {
	align-items: stretch;
	flex-direction: column;
}
</style>