make toggle a separate component so we can display an outcome icon beside it

This commit is contained in:
gingervitis
2020-12-25 20:29:15 -08:00
parent 6cb8cee8b7
commit 310c6573d3
6 changed files with 133 additions and 70 deletions

View File

@@ -17,4 +17,16 @@
}
.ant-table-filter-dropdown {
max-width: 250px;
}
.toggle-switch {
display: flex;
flex-direction: row;
align-items: center;
flex-wrap: nowrap;
justify-content: flex-end;
.outcome-icon {
margin-right: .5rem;
}
}

View File

@@ -3,4 +3,10 @@
--owncast-purple-highlight: #ccd;
--online-color: #73dd3f;
--ant-error: #ff4d4f;
--ant-success: #52c41a;
--ant-warning: #faad14;
}

View File

@@ -41,4 +41,4 @@ pre {
background-color: rgb(44, 44, 44);
color:lightgrey;
}
}
}