12345678910111213141516171819202122232425262728293031323334353637383940 |
- #moments{
- .__wrapper{
- .__title{
- margin: 0.5rem 0;
- }
- }
- .__wrap_side{
- margin-top: 0.5rem;
- }
- .__wrap_content{
- .__head{
- margin: 0.5rem 0;
- div{
- & > div{
- font-family: 'truenoregular';
- font-size: 0.8rem;
- padding-right: 0.5rem;
- &:not(:first-child){
- padding-left: 0.5rem;
- }
- }
- }
- }
- .__content{
- max-height: calc(1.5rem * 12 );
- // 1.5rem = line-height if change don't forget script.js
- overflow: hidden;
- &.is_active{
- max-height: 100%!important;
- }
-
- @media screen and (min-width: 576px) {
- max-height: 100%;
- }
- }
- .more_link.is_active{
- display: none!important;
- }
- }
- }
|