Commit ce53093282d8e377193a1ffe8dde482fc5528924
1 parent
7c4e5111
123
Showing
1 changed file
with
7 additions
and
4 deletions
Show diff stats
frontend/web/css/style.css
| ... | ... | @@ -2211,23 +2211,26 @@ p.right{text-align: right;} |
| 2211 | 2211 | } |
| 2212 | 2212 | .picmobile{ |
| 2213 | 2213 | width: 100%; |
| 2214 | + padding-top: 10px; | |
| 2214 | 2215 | margin: 0 auto; |
| 2216 | + margin-bottom: -15px; | |
| 2217 | + padding-left: 15px; | |
| 2218 | + padding-right: 15px; | |
| 2215 | 2219 | } |
| 2216 | 2220 | .picmobile .picture2{ |
| 2217 | 2221 | width: 100%; |
| 2218 | 2222 | max-width: 308px; |
| 2219 | 2223 | margin: 0 auto; |
| 2220 | 2224 | max-height: 175px; |
| 2221 | - padding-top: 22.096%; | |
| 2222 | 2225 | overflow: hidden; |
| 2226 | + display: flex; | |
| 2223 | 2227 | position: relative; |
| 2228 | + align-items: center; | |
| 2229 | + justify-content: center; | |
| 2224 | 2230 | } |
| 2225 | 2231 | .picmobile .picture2 img{ |
| 2226 | 2232 | width: 100%; |
| 2227 | 2233 | height: 100%; |
| 2228 | - position: absolute; | |
| 2229 | - top: 0; | |
| 2230 | - left: 0; | |
| 2231 | 2234 | } |
| 2232 | 2235 | /**/ |
| 2233 | 2236 | @media (min-width: 1200px){ | ... | ... |