Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Alba María Álvarez
/
front_recipes
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1e334571
authored
Sep 04, 2025
by
Alba María Álvarez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
perf(RecipeCard): añadidos estilos
parent
6de31634
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
src/components/RecipeCard.vue
src/components/RecipeCard.vue
View file @
1e334571
...
...
@@ -66,11 +66,20 @@ const toggleFavorite = async() => {
.card-text-description
{
display
:
-webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
6
;
/* Número de líneas antes de cortar */
-webkit-line-clamp
:
6
;
line-clamp
:
6
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
height
:
3.8cm
;
/* Altura de ejemplo para 3 líneas */
height
:
3.8cm
;
}
.card-body
h5
{
font-size
:
1.5rem
;
color
:
#2C0C21
;
}
.card-body
p
{
font-size
:
1rem
;
}
.btn-more
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment