diff --git a/assets/scss/layouts/photos.scss b/assets/scss/layouts/photos.scss index bb49536..f7cc6ee 100644 --- a/assets/scss/layouts/photos.scss +++ b/assets/scss/layouts/photos.scss @@ -46,16 +46,15 @@ display: block; transition: opacity 0.2s; span#caption{ - transition: width height .5s ease; + transition: widthvheight .5s ease; display:none; background-color:rgba(27, 27,27, 0.7); color:white; --width:17.5em; - width: 0; - overflow:auto; + width: 0px!important; --height:17.5em; - height: 0; - overflow: none; + height: 0px!important; + overflow: hidden; word-wrap:break-word; word-break:break-word; padding:10px;