Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Layout issue with online text #30

Closed
Syxton opened this issue Dec 6, 2016 · 5 comments
Closed

Layout issue with online text #30

Syxton opened this issue Dec 6, 2016 · 5 comments

Comments

@Syxton
Copy link

Syxton commented Dec 6, 2016

layout issue
code

the "fn_plugin_wrapper_outer" is floated so it falls beneath "fitem_id_onlinetext". "fitemtitle" also is floated so it pushes the editor icons more to the right as well

@Syxton
Copy link
Author

Syxton commented Dec 6, 2016

This is running the 2016113000 version of NED on Moodle 3.1

@Syxton
Copy link
Author

Syxton commented Dec 6, 2016

Happens if both file and onlinetext submissions are enabled

@Syxton
Copy link
Author

Syxton commented Dec 6, 2016

wrapping the fn_plugin_wrapper_outer" divs with a div that is "display:inline-block; width:100%" fixes that part. Same for the fitemtitle

@Syxton
Copy link
Author

Syxton commented Dec 6, 2016

in the fn_marking styles.css I made the following modification and it fixed the issue: changed .fn_plugin_wrapper_outer to display: inline-block instead of float. and then added a piece to hide the fitemtitle

.fn_plugin_wrapper_outer {
display: inline-block;
margin: 10px auto;
width: 50%;
vertical-align: top;
}
table.markingmanagercontainer div.fitemtitle {
display: none;
}

@ned-code
Copy link
Owner

Thanks for the code! This is fixed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants