How to change the size of the "Add Discussion" overlay
Permalink Browser Info Environment
I am trying to make the overlay for the add discussion overlay taller. When you select the option to start a discussion from the topics page the overlay is too short to show the post button. I've had people not figuring out they need to scroll down. I have found the reference for the function in the discussion page type but can't find where the function is that brings up the overlay.
I even noticed it here creating this new discussion.
Any help is appreciated.
I even noticed it here creating this new discussion.
Any help is appreciated.
Type: | Discussion |
---|---|
Status: | Archived |
Have you tried this in other browsers, or other computers? I attached a screenshot of what I am seeing right now.
I get the same thing with the following:
Safari on my desktop mac
Safari on iPad
Google Chrome on desktop PC
Firefox on desktop PC
Internet Explorer on the desktop PC only cuts off the very bottom of the the post button.
I checked both the Start Discussion and Reply to Post options. I only have issues with the initial Start Discussion. When I go to reply to post (which is what your screenshot is) I see it the same as you. I did take time to measure the overlays between the Start Discussion and Reply to Post. They seem to be the same. The difference I see between the two is that the Start Discussion popup has an extra input field taking up real estate in the overlay, forcing the post button lower than the bottom border. This only comes up when needed in the Reply to Post screen. I attached a screenshot as well.
Safari on my desktop mac
Safari on iPad
Google Chrome on desktop PC
Firefox on desktop PC
Internet Explorer on the desktop PC only cuts off the very bottom of the the post button.
I checked both the Start Discussion and Reply to Post options. I only have issues with the initial Start Discussion. When I go to reply to post (which is what your screenshot is) I see it the same as you. I did take time to measure the overlays between the Start Discussion and Reply to Post. They seem to be the same. The difference I see between the two is that the Start Discussion popup has an extra input field taking up real estate in the overlay, forcing the post button lower than the bottom border. This only comes up when needed in the Reply to Post screen. I attached a screenshot as well.
Ok I see what you're talking about now, the frame does not "grow" as you add more file attachments, which causes the content to grow. For the add-on, I think what you can do is just open up packages/discussion/js/discussion.js and change the "470" on line 126 to "520".
It's this section of the code:
We will mark this as something to improve.
It's this section of the code:
$.fn.dialog.open({ title: title, element: dialog, width: 550, modal: false, onClose: function() { ccmDiscussion.activeDialog = $('<div/>'); }, height: 524 //<-- this is 524 instead of 470 });
We will mark this as something to improve.
Worked perfectly! Thank you so much. As always it is always such an easy fix when someone points it out to me.
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.
To re-open this issue, reply to this message.
To re-open this issue, reply to this message.