Edit md viewport layout