forked from eatvio/eatvio_app
fix(feed): показать ещё (338), комментарии (325), переход в профиль (317)
This commit is contained in:
@@ -42,6 +42,7 @@ class _CommentsWidgetState extends State<CommentsWidget> {
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
],
|
||||
const SizedBox(height: 48),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
@@ -153,6 +153,19 @@ class _DietsWidgetState extends State<DietsWidget> {
|
||||
),
|
||||
),
|
||||
],
|
||||
if (widget.diet.details.length > 200)
|
||||
const Padding(
|
||||
padding: EdgeInsets.only(left: 16, top: 8),
|
||||
child: Text(
|
||||
'Показать ещё',
|
||||
style: TextStyle(
|
||||
height: 1,
|
||||
color: Color(0xFF8B8B8B),
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.w600,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
Padding(
|
||||
|
||||
@@ -156,6 +156,19 @@ class _PlanWidgetState extends State<PlanWidget> {
|
||||
},
|
||||
),
|
||||
),
|
||||
if (widget.plan.details.length > 200)
|
||||
const Padding(
|
||||
padding: EdgeInsets.only(left: 16, top: 8),
|
||||
child: Text(
|
||||
'Показать ещё',
|
||||
style: TextStyle(
|
||||
height: 1,
|
||||
color: Color(0xFF8B8B8B),
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.w600,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
],
|
||||
),
|
||||
|
||||
@@ -187,7 +187,7 @@ class _RecipesWidgetState extends State<RecipesWidget> {
|
||||
),
|
||||
if (widget.recipe.description.length > 200)
|
||||
const Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 12),
|
||||
padding: EdgeInsets.only(left: 16, top: 8),
|
||||
child: Text(
|
||||
'Показать ещё',
|
||||
style: TextStyle(
|
||||
|
||||
Reference in New Issue
Block a user