Skip to content

Commit

Permalink
fix(component/result): grid-column on is-empty
Browse files Browse the repository at this point in the history
  • Loading branch information
nyancodeid committed Aug 21, 2021
1 parent c25e41c commit 4665454
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/ColorPicker/ColorResult.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,16 @@ export default {
column-gap: 16px;
row-gap: 16px;
padding: 8px 0;
justify-items: center;
.video-color--result-empty {
grid-column: 2 / 5;
text-align: center;
width: 100%;
border-radius: 0.5em;
padding: 16px;
margin: 8px 8px 16px;
color: var(--darker-color);
font-size: 14px;
}
Expand Down Expand Up @@ -125,6 +127,10 @@ export default {
.video-color--result-wrapper {
grid-template-columns: auto auto auto auto;
.video-color--result-empty {
grid-column: 2 / 4;
}
.video-color--result-item {
.result-item--text {
font-size: 12px;
Expand Down

0 comments on commit 4665454

Please sign in to comment.