smilies scroll box

mChat compatibilty - smilies scroll box

mChat compatibilty

by mastnacek » Tue Jan 15, 2019 10:30 am

It will by possible make i work with mChat extension?
Big thanks for your work :!:
mastnacek
Registered User
Posts: 32
Joined: Thu Oct 25, 2018 6:43 am
Contact:

Re: mChat compatibilty

by alex75 » Wed Jan 16, 2019 6:42 am

Yes. This week I will work on it
User avatar
alex75
Registered User
Posts: 358
Joined: Sun Jun 10, 2012 9:09 am
Location: Italy
Name: Alessandro
Contact:

Re: mChat compatibilty

by mastnacek » Wed Jan 16, 2019 7:14 am

This will be great, great thanks in advance
mastnacek
Registered User
Posts: 32
Joined: Thu Oct 25, 2018 6:43 am
Contact:

Re: mChat compatibilty

by alex75 » Wed Jan 16, 2019 6:55 pm

it was easier than I thought

open:
ext\alex75\smiliesscrollbox\styles\prosilver\theme\smiley.css

find:

Code: Select all

.smiley-scroll {
	height: 200px;
	border: solid 1px gray; 
	overflow:auto;
}
Replace with:

Code: Select all

.smiley-scroll, #mchat-smilies {
	height: 200px;
	border: solid 1px gray; 
	overflow:auto;
}
Save and purge the cache.
Last edited by alex75 on Thu Jan 17, 2019 10:37 am
User avatar
alex75
Registered User
Posts: 358
Joined: Sun Jun 10, 2012 9:09 am
Location: Italy
Name: Alessandro
Contact:

Re: mChat compatibilty

by mastnacek » Thu Jan 17, 2019 10:30 am

Great, works!
I modified you code for mobile devices.
Big thanks for your work and time man!
My users will be happy.

.smiley-scroll {
height: 300px;
border: solid 1px gray;
overflow:auto;
}

#mchat-smilies {
height: 77px;
border: solid 1px gray;
overflow:auto;
}

@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) {
#mchat-smilies { height: 100px;
border: solid 1px gray;
overflow:auto;
}
}
mastnacek
Registered User
Posts: 32
Joined: Thu Oct 25, 2018 6:43 am
Contact: