style: increase message padding to make highlight more pleasant
This commit is contained in:
parent
f38f26a602
commit
26ef3671e9
2 changed files with 9 additions and 9 deletions
|
@ -188,15 +188,19 @@ function getDayDifference(date1: Date, date2: Date) {
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.message {
|
.message {
|
||||||
text-align: left;
|
|
||||||
/* border: 1px solid lightcoral; */
|
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 4rem 1fr;
|
grid-template-columns: 4rem 1fr;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 100%;
|
|
||||||
|
text-align: left;
|
||||||
|
/* -4 dvw due to 2dvw of padding on both sides */
|
||||||
|
width: calc(100% - 4dvw);
|
||||||
overflow-wrap: anywhere;
|
overflow-wrap: anywhere;
|
||||||
|
|
||||||
padding-top: .2rem;
|
padding-top: .2rem;
|
||||||
padding-bottom: .2rem;
|
padding-bottom: .2rem;
|
||||||
|
padding-left: 2dvw;
|
||||||
|
padding-right: 2dvw;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-reply-preview {
|
.message-reply-preview {
|
||||||
|
|
|
@ -320,8 +320,6 @@ router.beforeEach((to, from, next) => {
|
||||||
#message-area {
|
#message-area {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding-left: 1dvw;
|
|
||||||
padding-right: 1dvw;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
|
@ -329,8 +327,8 @@ router.beforeEach((to, from, next) => {
|
||||||
#message-box {
|
#message-box {
|
||||||
margin-top: auto; /* force it to the bottom of the screen */
|
margin-top: auto; /* force it to the bottom of the screen */
|
||||||
margin-bottom: 2dvh;
|
margin-bottom: 2dvh;
|
||||||
margin-left: 1dvw;
|
margin-left: 2dvw;
|
||||||
margin-right: 1dvw;
|
margin-right: 2dvw;
|
||||||
|
|
||||||
padding-left: 2%;
|
padding-left: 2%;
|
||||||
padding-right: 2%;
|
padding-right: 2%;
|
||||||
|
@ -382,8 +380,6 @@ router.beforeEach((to, from, next) => {
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding-left: 1dvw;
|
|
||||||
padding-right: 1dvw;
|
|
||||||
padding-bottom: 1em;
|
padding-bottom: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue