Change style lang.

pull/3445/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; position: relative;
padding-bottom: 56%; padding-bottom: 56%;
overflow: hidden; overflow: hidden;
} img {
.attach-thumb > img { width: 100%;
width: 100%; height: 100%;
height: 100%; position: absolute;
position: absolute; top: 0;
top: 0; left: 0;
left: 0; }
} }
.ant-card-meta { .ant-card-meta {

View File

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

View File

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

View File

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