[O] Reduce height for narrow layout
This commit is contained in:
@@ -97,6 +97,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Narrow layout
|
||||||
|
.unread-entry.narrow
|
||||||
|
{
|
||||||
|
height: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
.unread-entry:first-child
|
.unread-entry:first-child
|
||||||
{
|
{
|
||||||
padding-top: 3px;
|
padding-top: 3px;
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
<div class="unread-entry vertical-center"
|
<div class="unread-entry vertical-center"
|
||||||
:class="narrow ? 'narrow' : ''"
|
:class="narrow ? 'narrow' : ''"
|
||||||
:style="`background: ${backgroundColor}`">
|
:style="`background: ${backgroundColor}`">
|
||||||
|
|
||||||
<el-row class="unread-row">
|
<el-row class="unread-row">
|
||||||
<el-col :span="3" class="date">
|
<el-col :span="3" class="date">
|
||||||
<span class="month">{{getMoment(assignment.date).format("MMM Do")}}</span>
|
<span class="month">{{getMoment(assignment.date).format("MMM Do")}}</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user