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:
parent
a8067ba8b0
commit
3af0c2b0b0
2 changed files with 17 additions and 0 deletions
14
conf/user.css.example
Normal file
14
conf/user.css.example
Normal 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; }
|
||||||
|
*/
|
|
@ -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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue