Skip to content

Commit

Permalink
mod: 弹出层边距调整
Browse files Browse the repository at this point in the history
  • Loading branch information
orz12 committed Jan 12, 2025
1 parent b9e7785 commit 4ae76d2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion lib/common/widgets/list_sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ class _ListSheetContentState extends State<ListSheetContent> {
color: Theme.of(context).colorScheme.surface,
borderRadius: const BorderRadius.all(Radius.circular(12)),
),
margin: const EdgeInsets.all(12),
margin: const EdgeInsets.symmetric(horizontal: 8, vertical: 30),
padding: const EdgeInsets.all(6),
child: Column(
children: [
Expand Down
18 changes: 9 additions & 9 deletions lib/pages/video/widgets/header_control.dart
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class _HeaderControlState extends State<HeaderControl> {
color: Theme.of(context).colorScheme.surface,
borderRadius: const BorderRadius.all(Radius.circular(12)),
),
margin: const EdgeInsets.all(12),
margin: const EdgeInsets.symmetric(horizontal: 8, vertical: 30),
padding: const EdgeInsets.all(12),
child: SingleChildScrollView(
child: Column(
Expand Down Expand Up @@ -643,13 +643,13 @@ class _HeaderControlState extends State<HeaderControl> {
builder: (BuildContext context, StateSetter setState) {
return Container(
width: min(Get.width, 350),
height: 500,
height: 450,
clipBehavior: Clip.hardEdge,
decoration: BoxDecoration(
color: Theme.of(context).colorScheme.background,
borderRadius: const BorderRadius.all(Radius.circular(12)),
),
margin: const EdgeInsets.all(12),
margin: const EdgeInsets.symmetric(horizontal: 8, vertical: 30),
padding: const EdgeInsets.only(left: 14, right: 14),
child: SingleChildScrollView(
child: Padding(
Expand Down Expand Up @@ -793,7 +793,7 @@ class _HeaderControlState extends State<HeaderControl> {
color: Theme.of(context).colorScheme.background,
borderRadius: const BorderRadius.all(Radius.circular(12)),
),
margin: const EdgeInsets.all(12),
margin: const EdgeInsets.symmetric(horizontal: 8, vertical: 30),
child: Column(
children: <Widget>[
SizedBox(
Expand Down Expand Up @@ -896,7 +896,7 @@ class _HeaderControlState extends State<HeaderControl> {
color: Theme.of(context).colorScheme.background,
borderRadius: const BorderRadius.all(Radius.circular(12)),
),
margin: const EdgeInsets.all(12),
margin: const EdgeInsets.symmetric(horizontal: 8, vertical: 30),
child: Column(
children: <Widget>[
const SizedBox(
Expand Down Expand Up @@ -983,7 +983,7 @@ class _HeaderControlState extends State<HeaderControl> {
color: Theme.of(context).colorScheme.background,
borderRadius: const BorderRadius.all(Radius.circular(12)),
),
margin: const EdgeInsets.all(12),
margin: const EdgeInsets.symmetric(horizontal: 8, vertical: 30),
child: Column(
children: [
const SizedBox(
Expand Down Expand Up @@ -1084,7 +1084,7 @@ class _HeaderControlState extends State<HeaderControl> {
color: Theme.of(context).colorScheme.background,
borderRadius: const BorderRadius.all(Radius.circular(12)),
),
margin: const EdgeInsets.all(12),
margin: const EdgeInsets.symmetric(horizontal: 8, vertical: 30),
padding: const EdgeInsets.only(left: 14, right: 14),
child: SingleChildScrollView(
child: SliderTheme(
Expand Down Expand Up @@ -1210,7 +1210,7 @@ class _HeaderControlState extends State<HeaderControl> {
text: i['label'],
selectStatus: blockTypes.contains(i['value']),
),
const SizedBox(width: 10),
const SizedBox(width: 3),
],
],
),
Expand Down Expand Up @@ -1441,7 +1441,7 @@ class _HeaderControlState extends State<HeaderControl> {
color: Theme.of(context).colorScheme.background,
borderRadius: const BorderRadius.all(Radius.circular(12)),
),
margin: const EdgeInsets.all(12),
margin: const EdgeInsets.symmetric(horizontal: 8, vertical: 30),
child: Column(
children: [
const SizedBox(
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/whisper_detail/widget/chat_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ class ChatItem extends StatelessWidget {
bottomRight: Radius.circular(16),
),
),
margin: const EdgeInsets.all(12),
margin: const EdgeInsets.symmetric(horizontal: 8, vertical: 30),
padding: const EdgeInsets.all(12),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
Expand Down

0 comments on commit 4ae76d2

Please sign in to comment.