계정 추가/엑셀 등록 칸만 원래의 정사각형(절반 폭) 크기로 복원
NFC 출석 확인 타일 규격에 맞췄던 계정 추가/엑셀 등록 칸 크기를 되돌리고, 학생 목록 타일 크기/폰트는 그대로 유지. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -669,10 +669,11 @@ class _TeacherStudentManagementPageState
|
||||
padding: const EdgeInsets.all(24.0),
|
||||
child: LayoutBuilder(
|
||||
builder: (context, constraints) {
|
||||
// 🖥️ 웹(넓은 화면)은 계정 추가/엑셀 등록을 나란히, 폰은 기존처럼 세로로 쌓는다.
|
||||
// 📐 크기/폰트 비율은 "실시간 출석 확인" 목록의 타일(220x148)과 동일하게 맞춘다.
|
||||
// 🖥️ 웹(넓은 화면)은 계정 추가/엑셀 등록을 정사각형 2칸으로 나란히, 폰은 기존처럼 세로로 쌓는다.
|
||||
// 📐 학생 목록 타일은 "실시간 출석 확인" 목록의 타일(220x148)과 동일하게 맞춘다.
|
||||
final bool isWide = constraints.maxWidth >= 800;
|
||||
final double listWidth = constraints.maxWidth;
|
||||
final double squareSize = (constraints.maxWidth - 20) / 2;
|
||||
|
||||
final Widget addBoxColumn = Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
@@ -680,8 +681,8 @@ class _TeacherStudentManagementPageState
|
||||
_sectionTitle('신규 학생 계정 추가'),
|
||||
const SizedBox(height: 16),
|
||||
SizedBox(
|
||||
width: isWide ? kAttendanceTileWidth : double.infinity,
|
||||
height: isWide ? kAttendanceTileHeight : null,
|
||||
width: isWide ? squareSize : double.infinity,
|
||||
height: isWide ? squareSize : null,
|
||||
child: _buildAddAccountBox(),
|
||||
),
|
||||
],
|
||||
@@ -693,8 +694,8 @@ class _TeacherStudentManagementPageState
|
||||
_sectionTitle('엑셀로 한번에 추가 (신입생 등)'),
|
||||
const SizedBox(height: 16),
|
||||
SizedBox(
|
||||
width: isWide ? kAttendanceTileWidth : double.infinity,
|
||||
height: isWide ? kAttendanceTileHeight : 240,
|
||||
width: isWide ? squareSize : double.infinity,
|
||||
height: isWide ? squareSize : 240,
|
||||
child: _buildExcelBox(),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user