Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions EATSSU/App/Sources/Presentation/Auth/View/DropDownView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
}()
Expand Down Expand Up @@ -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)

Expand All @@ -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)
}

Expand All @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading