[S] Fix margins when there are no unread
This commit is contained in:
@@ -111,6 +111,15 @@
|
|||||||
height: 30px;
|
height: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Unread
|
||||||
|
.no-unread
|
||||||
|
{
|
||||||
|
visibility: hidden !important;
|
||||||
|
width: 0 !important;
|
||||||
|
margin-left: 0 !important;
|
||||||
|
padding: 0 0 0 10px !important;
|
||||||
|
}
|
||||||
|
|
||||||
.unread-entry:first-child
|
.unread-entry:first-child
|
||||||
{
|
{
|
||||||
padding-top: 3px;
|
padding-top: 3px;
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
<span class="score entry-box">{{assignment.score}}</span>
|
<span class="score entry-box">{{assignment.score}}</span>
|
||||||
<span class="max entry-box">{{assignment.scoreMax}}</span>
|
<span class="max entry-box">{{assignment.scoreMax}}</span>
|
||||||
|
|
||||||
<el-button class="mark-as-read" :class="unread ? 'unread' : ''"
|
<el-button class="mark-as-read" :class="unread ? 'unread' : 'no-unread'"
|
||||||
size="mini" type="text" icon="el-icon-close"
|
size="mini" type="text" icon="el-icon-close"
|
||||||
@click="markAsRead">
|
@click="markAsRead">
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|||||||
Reference in New Issue
Block a user