mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-28 01:53:25 +00:00
Overide a text-transform: uppercase to capitalize
Inherit comes from `app/webpacker/css/admin/components/buttons.scss`
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
color: #fff;
|
||||
max-width: 240px;
|
||||
white-space: normal;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.arrow {
|
||||
|
||||
@@ -683,7 +683,7 @@ distributors: [distributor4, distributor5]) }
|
||||
|
||||
# mouse-hovers and finds tooltip
|
||||
find(".icon-road").hover
|
||||
expect(page).to have_content "SHIP"
|
||||
expect(page).to have_content "Ship"
|
||||
end
|
||||
|
||||
within "tr#order_#{order.id}" do
|
||||
@@ -692,7 +692,7 @@ distributors: [distributor4, distributor5]) }
|
||||
|
||||
# mouse-hovers and finds tooltip
|
||||
find(".icon-capture").hover
|
||||
expect(page).to have_content "CAPTURE"
|
||||
expect(page).to have_content "Capture"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -703,7 +703,7 @@ distributors: [distributor4, distributor5]) }
|
||||
|
||||
# mouse-hovers and finds tooltip
|
||||
find(".icon-edit").hover
|
||||
expect(page).to have_content "EDIT"
|
||||
expect(page).to have_content "Edit"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user