Skip to content

Commit fb6b146

Browse files
committed
feat(tic-tac-toe): set min-width to container
1 parent 4308ef6 commit fb6b146

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tic-tac-toe/sass/main.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ button:active {
8888
padding: 2rem;
8989
border-radius: 2rem;
9090
background-color: white;
91-
width: min(80vw, 750px);
91+
width: clamp(280px, 80vw, 750px);
9292
box-shadow: 0px 2rem 0px calc($lower-height * -1) $color-secondary;
9393

9494
display: flex;
@@ -134,7 +134,7 @@ dialog::backdrop {
134134
& button {
135135
font: inherit;
136136
}
137-
137+
138138
& .score-crosses {
139139
color: $color-cross;
140140
}

tic-tac-toe/styles.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)