Skip to content

Commit

Permalink
Roman Numeral Converter: Fix media query to not turn everything into …
Browse files Browse the repository at this point in the history
…a row
  • Loading branch information
fullStackRacc committed Mar 23, 2024
1 parent f265be1 commit 226dd12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Roman_Numeral_Converter/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h1>Convert Number to Roman Numerals</h1>
class="number"
/>
<button class="convert-btn" id="convert-btn">Convert</button>
<div id="output"></div>
<div id="output"></div>
</div>
<script src="script.js"></script>
</body>
Expand Down
13 changes: 3 additions & 10 deletions Roman_Numeral_Converter/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,20 @@ h1 {
}

.convert-btn {
display: flex;
background-color: var(--orange);
cursor: pointer;
border: none;
padding: 4px;
}

.number {
display: flex;
height: 25px;
}

#output {
display: flex;
margin: 10px 0;
min-width: 200px;
width: fit-content;
Expand All @@ -60,13 +63,3 @@ h1 {
font-size: 2rem;
text-align: center;
}

@media screen and (min-width: 500px) {
.input-container {
flex-direction: row;
}

#result {
max-width: 460px;
}
}

0 comments on commit 226dd12

Please sign in to comment.