media-tag to less file

This commit is contained in:
Pierre Bondoerffer 2017-08-08 12:01:39 +02:00
parent d15280c6ce
commit 90075cd48e
No known key found for this signature in database
GPG Key ID: C0C7C0C5063F2236
2 changed files with 20 additions and 15 deletions

View File

@ -0,0 +1,18 @@
.mediatag_base() {
media-tag {
min-height: 0;
flex: 1;
display: flex;
flex-flow: column;
text-align: center;
}
media-tag img {
flex: 1;
max-height: 100% !important;
}
media-tag iframe {
min-height: 100%;
}
}

View File

@ -392,19 +392,6 @@ p {
//flex: 1; //flex: 1;
} }
media-tag { @import "../customize/src/less2/include/mediatag.less";
min-height: 0;
flex: 1;
display: flex;
flex-flow: column;
text-align: center;
}
media-tag img { .mediatag_base();
flex: 1;
max-height: 100% !important;
}
media-tag iframe {
min-height: 100%;
}