Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the two-column media attachment layout to a single column layout #27

iamgabrielma opened this Issue Sep 4, 2018 · 1 comment


None yet
3 participants
Copy link

commented Sep 4, 2018

Reported on 1368032-zen

The current layout of the media attachments is by default in two columns, which makes it not consistent with the rest of the design, and the boxes could make the information hard to read. Would be great to switch this to a single line per attachment.

This can be seen under Lessons > Add New > Lesson Media

screen shot 2018-09-04 at 13 12 16

The user also provided their own custom code that works on their site:

function isa_admin_styles() {
echo '<style>
#sensei_media_attachments td {
display: flex;
#sensei_media_attachments td input[type="text"] {
flex-grow: 10;

add_action('admin_head', 'isa_admin_styles'); 


This comment has been minimized.

Copy link

commented Mar 20, 2019

@iamgabrielma Would appreciate a quick test of this change as you are the OP. 🙂Testing instructions can be found in p6rkRX-Y4-p2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.