Adjust audio player bar positioning for improved layout
This commit is contained in:
@@ -440,14 +440,13 @@ class _HomePageState extends State<HomePage> with TickerProviderStateMixin {
|
||||
},
|
||||
),
|
||||
),
|
||||
// Audio player bar (positioned to the right of title)
|
||||
|
||||
if (_showAudioBar &&
|
||||
_audioFileName != null &&
|
||||
_audioFileUrl != null)
|
||||
Positioned(
|
||||
right:
|
||||
200, // Add padding from right edge to avoid overlapping nav buttons
|
||||
top: 16,
|
||||
right: 200,
|
||||
top: 12,
|
||||
child: SlideTransition(
|
||||
position: _audioBarOffset,
|
||||
child: AudioPlayerBar(
|
||||
|
||||
Reference in New Issue
Block a user