1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lychee_ynh.git synced 2024-09-03 19:36:36 +02:00

Set user.css to remove annoying zoom between images

This commit is contained in:
ericgaspar 2020-11-21 19:56:40 +01:00
parent a8067ba8b0
commit 3af0c2b0b0
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 17 additions and 0 deletions

14
conf/user.css.example Normal file
View file

@ -0,0 +1,14 @@
/* Disable the 'zoom' animation while browsing pictures */
#imageview #image {
transition: none !important;
animation-name: none !important;
animation-duration: 0 !important;
}
/* Hide smart albums */
/*
[data-id="0"] { display:none; }
[data-id="s"] { display:none; }
[data-id="f"] { display:none; }
[data-id="r"] { display:none; }
*/

View file

@ -136,6 +136,9 @@ cd $final_path && php$phpversion artisan migrate -n --force
cd $final_path && php$phpversion artisan config:clear -n cd $final_path && php$phpversion artisan config:clear -n
cd $final_path && php$phpversion artisan config:cache -n cd $final_path && php$phpversion artisan config:cache -n
# Setup custum user.css file
cp ../conf/user.css.example $final_path/public/dist/user.css
#================================================= #=================================================
# STORE THE CONFIG FILE CHECKSUM # STORE THE CONFIG FILE CHECKSUM
#================================================= #=================================================