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 &&
|
if (_showAudioBar &&
|
||||||
_audioFileName != null &&
|
_audioFileName != null &&
|
||||||
_audioFileUrl != null)
|
_audioFileUrl != null)
|
||||||
Positioned(
|
Positioned(
|
||||||
right:
|
right: 200,
|
||||||
200, // Add padding from right edge to avoid overlapping nav buttons
|
top: 12,
|
||||||
top: 16,
|
|
||||||
child: SlideTransition(
|
child: SlideTransition(
|
||||||
position: _audioBarOffset,
|
position: _audioBarOffset,
|
||||||
child: AudioPlayerBar(
|
child: AudioPlayerBar(
|
||||||
|
|||||||
Reference in New Issue
Block a user