Adjusted main fragment layout