Skip to content

Commit 5a1abd2

Browse files
committed
ddjust the button size when the button text is too long
1 parent e82313f commit 5a1abd2

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

src/styles/mobile/common/login-page.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@
8686

8787
.login-page-primary-action > .list-button,
8888
.login-page-secondary-action > .list-button {
89+
box-sizing: border-box;
90+
min-height: var(--f7-list-item-min-height);
91+
padding-block: 8px;
92+
line-height: 1.25;
93+
white-space: normal;
94+
text-wrap: balance;
8995
border-radius: 14px;
9096
font-weight: 600;
9197
transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;

src/views/mobile/UnlockPage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<f7-page no-navbar no-swipeback login-screen hide-toolbar-on-scroll class="login-page">
2+
<f7-page no-navbar no-swipeback login-screen hide-toolbar-on-scroll class="login-page unlock-page">
33
<f7-login-screen-title>
44
<img alt="logo" class="login-page-logo" :src="APPLICATION_LOGO_PATH" />
55
<f7-block class="login-page-tile margin-vertical-half">{{ tt('global.app.title') }}</f7-block>

0 commit comments

Comments
 (0)