minor on style

This commit is contained in:
les
2021-03-24 21:05:21 +01:00
parent a7d57dad9b
commit 0dc156e540
3 changed files with 52 additions and 52 deletions

View File

@@ -43,53 +43,4 @@ export default {
},
computed: mapState(['settings'])
}
</script>
<style lang="less">
.event {
display: flex;
position: relative;
flex-direction: column;
width: 330px;
max-width: 500px;
flex-grow: 1;
margin-top: .4em;
margin-right: .4em;
overflow: hidden;
.title {
display: block;
max-height: 3.3em;
overflow: hidden;
margin: 0.5rem 1rem 0.5rem 1rem;
// color: white;
border-bottom: 1px solid rgba(4,4,4,0.2);
font-size: 1.2em !important;
line-height: 1.1em;
font-weight: 500;
}
.body {
flex: 1 1 auto;
}
.img {
width: 100%;
max-height: 250px;
object-fit: cover;
object-position: top;
}
.place {
max-width: 100%;
span {
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
a {
text-decoration: none;
}
}
</style>
</script>