Skip to content

Commit

Permalink
fix(macOS): Ablum title offset (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
XMLHexagram authored Dec 3, 2024
1 parent ec19325 commit 6b4d96b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/screens/query_tracks/query_tracks.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'dart:io';

import 'package:provider/provider.dart';
import 'package:fluent_ui/fluent_ui.dart';

Expand Down Expand Up @@ -45,9 +47,12 @@ class _QueryTracksPageState extends State<QueryTracksPage> {
children: [
if (!isMini)
Padding(
padding: const EdgeInsets.fromLTRB(20, 54, 24, 12),
padding: Platform.isMacOS
? const EdgeInsets.fromLTRB(24, 54, 24, 12)
: const EdgeInsets.fromLTRB(20, 54, 24, 12),
child: Transform.scale(
scale: 1.2,
alignment: Alignment.centerLeft,
child: Text(
widget.title ?? 'Tracks',
style: TextStyle(color: theme.inactiveColor),
Expand Down

0 comments on commit 6b4d96b

Please sign in to comment.