Change style lang.

pull/9/head
ruibaby 2019-04-24 20:38:56 +08:00
parent 847e9eec5e
commit 816529e66d
4 changed files with 24 additions and 48 deletions

View File

@ -266,13 +266,13 @@ export default {
position: relative;
padding-bottom: 56%;
overflow: hidden;
}
.attach-thumb > img {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
img {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
}
.ant-card-meta {

View File

@ -188,12 +188,7 @@ export default {
}
</script>
<style scope>
.post-thum .img {
width: 100%;
cursor: pointer;
}
<style lang="less" scope>
.attach-item {
width: 50%;
margin: 0 auto;
@ -202,13 +197,12 @@ export default {
overflow: hidden;
float: left;
cursor: pointer;
}
.attach-item > img {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
img {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
}
</style>

View File

@ -168,12 +168,7 @@ export default {
}
</script>
<style scope>
.post-thum .img {
width: 100%;
cursor: pointer;
}
<style lang="less" scope>
.attach-item {
width: 50%;
margin: 0 auto;
@ -182,13 +177,12 @@ export default {
overflow: hidden;
float: left;
cursor: pointer;
}
.attach-item > img {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
img {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
}
</style>

View File

@ -375,19 +375,7 @@ export default {
}
</script>
<style scoped>
.ant-divider-horizontal {
margin: 14px 0;
}
.theme-item .theme-control .theme-title {
font-size: 18px;
}
.theme-item .theme-control .theme-button {
float: right;
}
<style lang="less" scoped>
.upload-button {
position: fixed;
bottom: 80px;