Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/src/routes/restaurants/RestaurantCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const RestaurantCreate = () => {
</div>

<div className="form-field">
<label htmlFor="typeofFood" >Tipo de comida</label>
<label data-cy="typeOfFood" htmlFor="typeofFood" >Tipo de comida</label>
<input type="text" id="typeofFood" placeholder="Pizza" value={typeOfFood}
onChange={ev => settypeOfFood(ev.target.value)}/>
</div>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/routes/restaurants/RestaurantProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ const RestaurantProfile = () => {

<div id="restaurant-main-data">
<h2 id="restaurant-name">{ restaurant.name }</h2>
<p className="restaurant-atribute"> Tipo de comida: {restaurant.typeOfFood}</p>
<p className="restaurant-atribute" data-cy="typeOfFood"> Tipo de comida: {restaurant.typeOfFood}</p>
{ restaurant.site && <a className="restaurant-atribute" id="restaurant-site" href={restaurant.site}> Site oficial </a>}
{numRatings !== 1 ? (
<div>
Expand Down Expand Up @@ -285,7 +285,7 @@ const RestaurantProfile = () => {

<div id="add-and-map">
<div id="address-div">
<p className="restaurant-atribute" id="address">Endereço: {restaurant.address.street}, {restaurant.address.number} - {restaurant.address.neighborhood}, {restaurant.address.city}</p>
<p data-cy="typeOfFood" className="restaurant-atribute" id="address">Endereço: {restaurant.address.street}, {restaurant.address.number} - {restaurant.address.neighborhood}, {restaurant.address.city}</p>
</div>
<iframe className="map"
allowfullscreen
Expand Down
12 changes: 12 additions & 0 deletions frontend/src/style/Login.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,18 @@
background-color: #F0E7DE;
}

.input-field2 {
width: 25%;
padding: 10px;
margin-top: 10px;
margin-bottom: 10px;
border: 1px solid #9FA0A5;
border-radius: 5px;
box-sizing: border-box;
font-size: 16px;
background-color: #F0E7DE;
}

.left-align {
text-align: left;
}
Expand Down