media-tag to less file

pull/1/head
Pierre Bondoerffer 7 years ago
parent d15280c6ce
commit 90075cd48e
No known key found for this signature in database
GPG Key ID: C0C7C0C5063F2236

@ -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%;
}
}

@ -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%;
}

Loading…
Cancel
Save