.journal_detail { display: flex; flex-direction: row; background-color: #fff; padding-left: 40px; padding-right: 40px; padding-bottom: 40px; padding-top: 40px; min-height: 100vh; } page html body{ height: 100%; background-color: #fff; } .header_avatar { width: 74px; height: 74px; border-radius: 37px; margin-right: 24px; background-color: palegoldenrod; } .jounal_content { flex: 1; flex-direction: column; display: flex; } .journal_nickname { display: flex; font-size: 34px; line-height: 42px; font-weight: bold; color: #5C7099; font-weight: bold; } .img_container{ display: flex; flex-direction: row; flex-wrap: wrap; margin-top: 12px; // margin-bottom: 16px; }