diff --git a/EATSSU/App/Sources/Presentation/Auth/View/DropDownView.swift b/EATSSU/App/Sources/Presentation/Auth/View/DropDownView.swift index 7e6d1fcc..8fa070c5 100644 --- a/EATSSU/App/Sources/Presentation/Auth/View/DropDownView.swift +++ b/EATSSU/App/Sources/Presentation/Auth/View/DropDownView.swift @@ -90,7 +90,7 @@ final class DropDownView: BaseUIView { // 드롭다운 테이블 생성 let tableView = UITableView() - tableView.layer.cornerRadius = 12 + tableView.layer.cornerRadius = 10 tableView.layer.borderWidth = 1 tableView.layer.borderColor = UIColor.gray300.cgColor tableView.layer.shadowColor = UIColor.black.cgColor @@ -168,7 +168,7 @@ final class DropDownView: BaseUIView { config.titleAlignment = .leading button.configuration = config - button.layer.cornerRadius = 12 + button.layer.cornerRadius = 10 button.layer.borderWidth = 1 button.layer.borderColor = UIColor.gray300.cgColor button.contentHorizontalAlignment = .leading diff --git a/EATSSU/App/Sources/Presentation/Home/View/HomeRestaurantView.swift b/EATSSU/App/Sources/Presentation/Home/View/HomeRestaurantView.swift index f2e0cdf5..a005d67d 100644 --- a/EATSSU/App/Sources/Presentation/Home/View/HomeRestaurantView.swift +++ b/EATSSU/App/Sources/Presentation/Home/View/HomeRestaurantView.swift @@ -16,7 +16,7 @@ final class HomeRestaurantView: BaseUIView { // MARK: - UI Components lazy var restaurantTableView: UITableView = { - let tableView = UITableView(frame: .zero, style: .insetGrouped) + let tableView = UITableView(frame: .zero, style: .grouped) tableView.separatorStyle = .none tableView.contentInset = .zero tableView.backgroundColor = .gray100 diff --git a/EATSSU/App/Sources/Presentation/Home/View/RestaurantTableView/RestaurantMenuGroupCell.swift b/EATSSU/App/Sources/Presentation/Home/View/RestaurantTableView/RestaurantMenuGroupCell.swift index 74be53a9..01a6a5e3 100644 --- a/EATSSU/App/Sources/Presentation/Home/View/RestaurantTableView/RestaurantMenuGroupCell.swift +++ b/EATSSU/App/Sources/Presentation/Home/View/RestaurantTableView/RestaurantMenuGroupCell.swift @@ -20,6 +20,7 @@ final class RestaurantMenuGroupCell: BaseTableViewCell { view.layer.cornerRadius = 12 view.layer.borderWidth = 1 view.layer.borderColor = UIColor.gray200.cgColor + view.layer.masksToBounds = true view.backgroundColor = .white return view }() @@ -51,6 +52,8 @@ final class RestaurantMenuGroupCell: BaseTableViewCell { override func configureUI() { self.selectionStyle = .none self.selectedBackgroundView = UIView() + self.backgroundColor = .clear + contentView.backgroundColor = .clear contentView.addSubview(wrapperView) wrapperView.addSubviews(titleView, emptyLabel, menuStackView) @@ -60,7 +63,8 @@ final class RestaurantMenuGroupCell: BaseTableViewCell { // 오토레이아웃 설정 override func setLayout() { wrapperView.snp.makeConstraints { - $0.top.leading.trailing.equalToSuperview() + $0.top.equalToSuperview() + $0.leading.trailing.equalToSuperview().inset(20) $0.bottom.equalToSuperview().priority(UILayoutPriority.defaultHigh) } @@ -70,8 +74,8 @@ final class RestaurantMenuGroupCell: BaseTableViewCell { emptyLabel.snp.makeConstraints { $0.top.equalTo(titleView.snp.bottom).offset(16) - $0.horizontalEdges.equalToSuperview().inset(12) - $0.bottom.equalToSuperview().inset(16) + $0.centerX.equalToSuperview() + $0.bottom.equalToSuperview().inset(22) } menuStackView.snp.makeConstraints { diff --git a/EATSSU/App/Sources/Presentation/Home/View/RestaurantTableView/RestaurantTableViewHeader.swift b/EATSSU/App/Sources/Presentation/Home/View/RestaurantTableView/RestaurantTableViewHeader.swift index 98d5c5db..e53ffd38 100644 --- a/EATSSU/App/Sources/Presentation/Home/View/RestaurantTableView/RestaurantTableViewHeader.swift +++ b/EATSSU/App/Sources/Presentation/Home/View/RestaurantTableView/RestaurantTableViewHeader.swift @@ -54,7 +54,7 @@ class RestaurantTableViewHeader: BaseTableViewHeaderView { func setLayout() { stackView.snp.makeConstraints { - $0.horizontalEdges.equalToSuperview() + $0.horizontalEdges.equalToSuperview().inset(22) $0.centerY.equalToSuperview() } titleLabel.snp.makeConstraints {