Merge pull request #441 from ente-io/upgrade-button-fix

Upgrade button fix + branding widget alignment
This commit is contained in:
Manav 2022-08-24 19:09:51 +05:30 committed by GitHub
commit 33cc1cc9bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View file

@ -375,7 +375,7 @@ OutlinedButtonThemeData buildOutlinedButtonThemeData({
borderRadius: BorderRadius.circular(8),
),
alignment: Alignment.center,
padding: const EdgeInsets.fromLTRB(50, 12, 50, 12),
padding: const EdgeInsets.fromLTRB(50, 16, 50, 16),
textStyle: const TextStyle(
fontWeight: FontWeight.w600,
fontFamily: 'Inter-SemiBold',

View file

@ -75,7 +75,10 @@ class HeaderErrorWidget extends StatelessWidget {
height: 52,
padding: const EdgeInsets.fromLTRB(80, 0, 80, 0),
child: OutlinedButton(
child: const Text("Upgrade"),
child: const Text(
"Upgrade",
style: TextStyle(height: 1.1),
),
onPressed: () {
Navigator.of(context).push(
MaterialPageRoute(

View file

@ -241,7 +241,7 @@ class BrandingWidget extends StatelessWidget {
children: [
Container(
height: kContainerHeight,
padding: const EdgeInsets.only(left: 12),
padding: const EdgeInsets.only(left: 12, top: 4),
child: const Align(
alignment: Alignment.centerLeft,
child: Text(