kopia lustrzana https://gitlab.com/mysocialportal/relatica
Add more padding to the left/right of the link preview.
rodzic
bd9e65f9a6
commit
84e28aaf6b
|
@ -13,7 +13,9 @@ class LinkPreviewControl extends StatelessWidget {
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
const width = 128.0;
|
||||
return Container(
|
||||
return Padding(
|
||||
padding: const EdgeInsets.only(left: 8.0, right: 8.0),
|
||||
child: Container(
|
||||
decoration: BoxDecoration(
|
||||
border: Border.all(width: 0.5),
|
||||
borderRadius: BorderRadius.circular(2.0)),
|
||||
|
@ -35,6 +37,7 @@ class LinkPreviewControl extends StatelessWidget {
|
|||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue