Add portion controls and improve recipe display
This commit is contained in:
@@ -61,6 +61,28 @@ button {
|
||||
|
||||
#status { min-height: 1.5em; color: #665a45; }
|
||||
|
||||
.portions {
|
||||
display: flex;
|
||||
gap: 14px;
|
||||
align-items: center;
|
||||
margin: 4px 0 20px;
|
||||
}
|
||||
|
||||
.portions[hidden] { display: none; }
|
||||
|
||||
.portions button {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
color: #fff;
|
||||
background: #5a4b30;
|
||||
font-size: 1.6rem;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.portions button:disabled { cursor: default; opacity: .4; }
|
||||
|
||||
.portions span { min-width: 92px; text-align: center; }
|
||||
|
||||
#recipes { display: grid; gap: 10px; padding: 0; list-style: none; }
|
||||
|
||||
.recipe {
|
||||
|
||||
Reference in New Issue
Block a user