Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style(chrome-extension): fix popup scroll #113

Merged
merged 2 commits into from
Jan 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions apps/chrome-extension/src/pages/mainMenu/ui/MainMenuPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const version = useVersion()
</script>

<template>
<div class="mx-auto w-full max-w-screen-sm p-3 text-base">
<div class="mx-auto w-full max-w-screen-sm py-2 px-3 text-base">
<div class="flex items-center">
<div class="w-1/3">
<button class="btn-outline btn-secondary btn-sm btn" v-if="hasActiveProfile" @click="reset()" :disabled="!readaptEnabled">
Expand Down Expand Up @@ -78,7 +78,7 @@ const version = useVersion()
</div>
<div v-else class="my-3 text-center">{{ t('MAIN_MENU.FIRST_RUN') }}</div>

<div class="mt-6 flex grow items-center gap-9" :class="hasActiveProfile ? 'justify-between' : 'justify-center'">
<div class="mt-5 flex grow items-center gap-9" :class="hasActiveProfile ? 'justify-between' : 'justify-center'">
<div v-if="hasActiveProfile" class="w-[220px]">
<div class="text-lg font-semibold">{{ $t('MAIN_MENU.ACTIVE_PROFILE') }}:</div>
<div class="flex justify-between">
Expand All @@ -100,10 +100,10 @@ const version = useVersion()
</button>
</div>

<ReadingToolsQuickActivate class="mb-auto mt-6" />
<ReadingToolsQuickActivate class="mb-auto mt-5" />

<div class="mt-2 flex items-center">
<div class="mr-auto text-sm">Version {{ version }}</div>
<div class="mt-2 flex items-center text-sm">
<div class="mr-auto">Version {{ version }}</div>
<a class="link mr-3" href="https://readapt.ai/#user-guides" target="_blank">
{{ t('MAIN_MENU.USER_GUIDE') }}
</a>
Expand Down