This commit is contained in:
sairaj mote 2023-01-10 01:48:44 +05:30
parent a0fd5c384a
commit 50ca649011
4 changed files with 4 additions and 21 deletions

View File

@ -345,12 +345,6 @@ ul {
display: none;
}
.icon {
width: 1.5rem;
height: 1.5rem;
fill: rgba(var(--text-color), 0.9);
}
.button__icon--left {
margin-right: 0.5rem;
}
@ -576,6 +570,7 @@ ul {
.torrent-card__icon .icon {
height: 1.4rem;
width: 1.4rem;
fill: rgba(var(--background-color), 1);
}
.torrent-card__title {
font-weight: 600;
@ -633,9 +628,6 @@ ul {
flex-shrink: 0;
background-color: var(--accent-color);
}
.torrent-type-icon .icon {
fill: white;
}
#torrent_type_icon {
align-self: center;

2
css/main.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -288,12 +288,6 @@ ul {
.observe-empty-state:not(:empty) ~ .empty-state {
display: none;
}
.icon {
width: 1.5rem;
height: 1.5rem;
fill: rgba(var(--text-color), 0.9);
}
.button__icon {
&--left {
margin-right: 0.5rem;
@ -499,6 +493,7 @@ ul {
.icon {
height: 1.4rem;
width: 1.4rem;
fill: rgba(var(--background-color), 1);
}
}
&__title {
@ -557,9 +552,6 @@ ul {
aspect-ratio: 1/1;
flex-shrink: 0;
background-color: var(--accent-color);
.icon {
fill: white;
}
}
#torrent_type_icon {
align-self: center;

View File

@ -737,8 +737,7 @@
uiGlobals.connectionErrorNotifications.push(notify('There seems to be a problem connecting to the internet, Please check you internet connection.', 'error'))
})
window.addEventListener('online', () => {
uiGlobals.connectionErrorNotifications.forEach(notificationId => getRef('notification_drawer').remove(notificationId))
uiGlobals.connectionErrorNotifications = []
location.reload()
notify('We are back online.', 'success')
})