Skip to content

Commit

Permalink
refactors css
Browse files Browse the repository at this point in the history
Delete public/search-icon.svg

Delete src/assets/MediaWiki-2020-large-icon.svg.png
  • Loading branch information
fillingtothemomo committed Mar 21, 2024
1 parent 480e79e commit bca8c94
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 17 deletions.
4 changes: 0 additions & 4 deletions public/search-icon.svg

This file was deleted.

Binary file removed src/assets/MediaWiki-2020-large-icon.svg.png
Binary file not shown.
17 changes: 8 additions & 9 deletions src/assets/css/SearchResults.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,25 @@
position: absolute;
margin-top: 300px;
margin-left: 200px;
width: 900px; /* Adjust width as needed */
height: 300px; /* Set fixed height */
width: 900px;
height: 300px;
}

.scrollable-results {
max-height: 300px; /* Set max height to prevent overflowing */
overflow-y: auto; /* Enable vertical scrolling */
max-height: 300px;
overflow-y: auto;
}

.search-results {
list-style: none;
padding: 0; /* Remove default padding */
margin: 0; /* Remove default margin */
padding: 0;
margin: 0;
display: flex;
flex-wrap: wrap; /* Allow flex items to wrap */
flex-wrap: wrap;
}

.search-result {
flex: 0 0 calc(50% - 10px); /* Adjust width of columns */
padding: 5px;
flex: 0 0 calc(50% - 10px);
box-sizing: border-box;
}

2 changes: 1 addition & 1 deletion src/assets/css/Searchbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
.search-container,
.search-container * {
font-size: 20px;
line-height:40px;/* Adjust the font size as needed */
line-height:40px;
}
.cdx-search-input--has-end-button{
border:0 ;
Expand Down
5 changes: 2 additions & 3 deletions src/assets/css/WordSearch.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@
margin-left: 150px;}

input[type="number" i] { box-sizing: border-box;
border: 1px solid #ccc; /* Set a border to ensure the input field is visible */
border: 1px solid #ccc;
padding: 4px 8px;
font-family: inherit;
font-size: inherit;
line-height: 1.375;
margin-left:2px;

}
}

.search-button{
margin-top: 4px;
Expand Down

0 comments on commit bca8c94

Please sign in to comment.