계정 추가/엑셀 등록 칸만 원래의 정사각형(절반 폭) 크기로 복원

NFC 출석 확인 타일 규격에 맞췄던 계정 추가/엑셀 등록 칸 크기를
되돌리고, 학생 목록 타일 크기/폰트는 그대로 유지.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-01 08:24:19 +09:00
co-authored by Claude Sonnet 5
parent d9ab6adb51
commit 75f12b8c46
+7 -6
View File
@@ -669,10 +669,11 @@ class _TeacherStudentManagementPageState
padding: const EdgeInsets.all(24.0), padding: const EdgeInsets.all(24.0),
child: LayoutBuilder( child: LayoutBuilder(
builder: (context, constraints) { builder: (context, constraints) {
// 🖥️ 웹(넓은 화면)은 계정 추가/엑셀 등록을 나란히, 폰은 기존처럼 세로로 쌓는다. // 🖥️ 웹(넓은 화면)은 계정 추가/엑셀 등록을 정사각형 2칸으로 나란히, 폰은 기존처럼 세로로 쌓는다.
// 📐 크기/폰트 비율은 "실시간 출석 확인" 목록의 타일(220x148)과 동일하게 맞춘다. // 📐 학생 목록 타일은 "실시간 출석 확인" 목록의 타일(220x148)과 동일하게 맞춘다.
final bool isWide = constraints.maxWidth >= 800; final bool isWide = constraints.maxWidth >= 800;
final double listWidth = constraints.maxWidth; final double listWidth = constraints.maxWidth;
final double squareSize = (constraints.maxWidth - 20) / 2;
final Widget addBoxColumn = Column( final Widget addBoxColumn = Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
@@ -680,8 +681,8 @@ class _TeacherStudentManagementPageState
_sectionTitle('신규 학생 계정 추가'), _sectionTitle('신규 학생 계정 추가'),
const SizedBox(height: 16), const SizedBox(height: 16),
SizedBox( SizedBox(
width: isWide ? kAttendanceTileWidth : double.infinity, width: isWide ? squareSize : double.infinity,
height: isWide ? kAttendanceTileHeight : null, height: isWide ? squareSize : null,
child: _buildAddAccountBox(), child: _buildAddAccountBox(),
), ),
], ],
@@ -693,8 +694,8 @@ class _TeacherStudentManagementPageState
_sectionTitle('엑셀로 한번에 추가 (신입생 등)'), _sectionTitle('엑셀로 한번에 추가 (신입생 등)'),
const SizedBox(height: 16), const SizedBox(height: 16),
SizedBox( SizedBox(
width: isWide ? kAttendanceTileWidth : double.infinity, width: isWide ? squareSize : double.infinity,
height: isWide ? kAttendanceTileHeight : 240, height: isWide ? squareSize : 240,
child: _buildExcelBox(), child: _buildExcelBox(),
), ),
], ],