This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

update error styling

+4 -20
+4 -6
src/components/ErrorPage/ErrorPage.css
··· 21 21 margin: 0; 22 22 color: var(--navbar-text); 23 23 transition: color 0.3s ease; 24 + margin-top: 10px; 24 25 } 25 26 26 27 .error-message { 27 - margin: 20px 0; 28 - text-align: left; 28 + margin-top: 20px; 29 + margin-bottom: 0px; 29 30 } 30 31 31 32 .error-message p { ··· 41 42 .error-message li { 42 43 margin: 5px 0; 43 44 } 44 - 45 - .search-section { 46 - margin-top: 20px; 47 - } 45 + 48 46 49 47 .try-another { 50 48 margin-bottom: 15px;
-4
src/components/ErrorPage/ErrorPage.js
··· 40 40 <p className="try-another">Try searching for another account:</p> 41 41 <SearchBar /> 42 42 </div> 43 - 44 - <p className="disclaimer"> 45 - <strong>Note:</strong> If you believe this is an error, please try again later. 46 - </p> 47 43 </div> 48 44 </main> 49 45 </>
-10
src/components/SearchBar/SearchBar.js
··· 176 176 </div> 177 177 <button type="submit">Search</button> 178 178 </form> 179 - {isLoading && <div className="loading">Loading...</div>} 180 - <div 181 - role="status" 182 - aria-live="polite" 183 - className="sr-only" 184 - > 185 - {suggestions.length > 0 186 - ? `${suggestions.length} suggestions available.` 187 - : "No suggestions available."} 188 - </div> 189 179 </div> 190 180 ); 191 181 };