Merge pull request #102 from krawieck/smaller-tweaks
This commit is contained in:
commit
8b034a5292
|
@ -117,7 +117,9 @@ class InstancePage extends HookWidget {
|
||||||
children: [
|
children: [
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(top: 40),
|
padding: const EdgeInsets.only(top: 40),
|
||||||
child: FullscreenableImage(
|
child: site.site.icon == null
|
||||||
|
? const SizedBox(height: 100, width: 100)
|
||||||
|
: FullscreenableImage(
|
||||||
url: site.site.icon,
|
url: site.site.icon,
|
||||||
child: CachedNetworkImage(
|
child: CachedNetworkImage(
|
||||||
width: 100,
|
width: 100,
|
||||||
|
|
|
@ -20,7 +20,10 @@ class BottomModal extends StatelessWidget {
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: theme.scaffoldBackgroundColor,
|
color: theme.scaffoldBackgroundColor,
|
||||||
borderRadius: const BorderRadius.all(Radius.circular(10)),
|
borderRadius: const BorderRadius.all(Radius.circular(10)),
|
||||||
),
|
border: Border.all(
|
||||||
|
color: Colors.grey.withOpacity(0.5),
|
||||||
|
width: 0.2,
|
||||||
|
)),
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
|
Loading…
Reference in New Issue