diff --git a/src/components/Entries/components/EntryCardPhotos/EntryCardPhoto/EntryCardPhotoTitle.jsx b/src/components/Entries/components/EntryCardPhotos/EntryCardPhoto/EntryCardPhotoTitle.jsx index dcf8faaf..935112f7 100644 --- a/src/components/Entries/components/EntryCardPhotos/EntryCardPhoto/EntryCardPhotoTitle.jsx +++ b/src/components/Entries/components/EntryCardPhotos/EntryCardPhoto/EntryCardPhotoTitle.jsx @@ -1,11 +1,12 @@ import styled from "styled-components"; - +// a fixed width is needed for correct work in firefox (width equals line-height) const EntryCardPhotoTitle = styled.p` font-size: 13px; transform: rotate(-180deg); text-transform: uppercase; writing-mode: vertical-lr; margin: 0; + width: 19px; `; export { EntryCardPhotoTitle };