add image border
This commit is contained in:
parent
8d8a276da0
commit
faf6725a99
BIN
src/assets/paper_white.jpg
Normal file
BIN
src/assets/paper_white.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.3 MiB |
@ -35,7 +35,9 @@ async function letsgo(place: string) {
|
||||
<hr class="hr" />
|
||||
<div class="message-content">
|
||||
<div v-if="props.action.image.length">
|
||||
<img v-bind:src="props.action.image" class="message-image" />
|
||||
<div class="message-image-border">
|
||||
<img v-bind:src="props.action.image" class="message-image" />
|
||||
</div>
|
||||
</div>{{ props.action.text }}
|
||||
</div>
|
||||
<div v-if="index == count - 1">
|
||||
@ -92,10 +94,19 @@ async function letsgo(place: string) {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.message-image {
|
||||
.message-image-border {
|
||||
width: 40%;
|
||||
float: left;
|
||||
padding: 7px;
|
||||
margin-right: 15px;
|
||||
background-image: url("@/assets/paper_white.jpg");
|
||||
background-size: cover;
|
||||
box-shadow: 0px 3px 15px rgb(98, 98, 98);
|
||||
transform: rotate(-3deg);
|
||||
}
|
||||
|
||||
.message-image {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.button-dialog {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user