Skip to content

Commit fdd34fa

Browse files
committed
Design fixes
1 parent 2395bcc commit fdd34fa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

AdminUI/LearningHub.Nhs.AdminUI/Scripts/vuesrc/content/pageSectionToolbar.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div>
33
<div class="toolBarBox">
44
<div class="toolBar">
5-
<div :style="getStatusStyle()" class="mr-4 p-2">
5+
<div :style="getStatusStyle()" class="mr-1 p-2">
66
<i :class="contentLib.getPageSectionStatusIcon(this.pageSection.pageSectionDetail)"></i>
77
{{ contentLib.getPageSectionStatusText(this.pageSection.pageSectionDetail) }}
88
</div>
@@ -167,8 +167,8 @@
167167
methods: {
168168
getStatusStyle(): string {
169169
return this.pageSection.pageSectionDetail.pageSectionStatus === PageSectionStatus.Live
170-
? 'background: #007F3B; height: 45px; margin: -8px;border: 1px solid #FFFFFF;'
171-
: ((this.pageSection.pageSectionDetail.deletePending == null || !this.pageSection.pageSectionDetail.deletePending) ? 'background: #FFB81C; height: 50px; margin: -12px;border: 1px solid #FFFFFF;color: #425563;' : 'background: #DA291C; height: 45px; margin: -8px; border: 1px solid #FFFFFF;');
170+
? 'background: #007F3B; height: 50px; margin: -12px;border: 1px solid #FFFFFF;'
171+
: ((this.pageSection.pageSectionDetail.deletePending == null || !this.pageSection.pageSectionDetail.deletePending) ? 'background: #FFB81C; height: 50px; margin: -12px;border: 1px solid #FFFFFF;color: #425563;' : 'background: #DA291C; height: 50px; margin: -12px; border: 1px solid #FFFFFF;');
172172
},
173173
getStatusIconStyle(): string {
174174
return 'margin-top:20px;'
@@ -216,7 +216,7 @@
216216
.toolBarBox {
217217
position: absolute;
218218
right: 12px;
219-
left:3px;
219+
left:12px;
220220
top: 2px;
221221
z-index: 1;
222222
}

0 commit comments

Comments
 (0)