mirror of https://github.com/halo-dev/halo
Change style lang.
parent
847e9eec5e
commit
816529e66d
|
@ -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 {
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue