Skip to content

Commit

Permalink
Improved: sequence of empty-state styling code in variable.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Ritika-Patel08 committed Feb 2, 2024
1 parent 643bdd5 commit bfdf8b0
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/theme/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -248,20 +248,6 @@ img {
object-fit: contain;
}

@media (prefers-color-scheme: dark) {
ion-chip > ion-icon {
color: var(--ion-color-dark);
}

.chip-outline {
border-color: var(--ion-color-dark);
}

ion-item {
--border-color: var(--ion-color-medium)
}
}

.empty-state {
max-width: 100%;
display: flex;
Expand All @@ -277,4 +263,18 @@ img {

.empty-state > p {
text-align: center;
}

@media (prefers-color-scheme: dark) {
ion-chip > ion-icon {
color: var(--ion-color-dark);
}

.chip-outline {
border-color: var(--ion-color-dark);
}

ion-item {
--border-color: var(--ion-color-medium)
}
}

0 comments on commit bfdf8b0

Please sign in to comment.