Skip to content

Commit

Permalink
fixed search line length
Browse files Browse the repository at this point in the history
  • Loading branch information
kami2016 committed Jun 21, 2024
1 parent 9f5d5d6 commit e5d9ee4
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 39 deletions.

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions dist/assets/index.822bd24c.js → dist/assets/index.a297e6da.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<title>Buero Vatter</title>


<script type="module" crossorigin src="/bv2024_frontend/assets/index.822bd24c.js"></script>
<link rel="stylesheet" href="/bv2024_frontend/assets/index.18cf9aea.css">
<script type="module" crossorigin src="/bv2024_frontend/assets/index.a297e6da.js"></script>
<link rel="stylesheet" href="/bv2024_frontend/assets/index.7e8a3c00.css">
</head>
<body>
<!-- landing page news -->
Expand Down
15 changes: 15 additions & 0 deletions src/assets/styles/global_styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,21 @@ body {
color: #C00000;
}

/*project page search input text*/
input#titleName {
border: none;
height: 47px;
font-size: 24px;
font-family: 'Karla', sans-serif;
font-weight: 300;
color: #525151;
width: 85%;
}

input#titleName:focus {
outline: none;
}

/*SelectedProjectComp*/
.list_element {
display: flex;
Expand Down
9 changes: 4 additions & 5 deletions src/pages/Projects/Projects.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,14 @@ const Projects = () => {

<Container>
<Row>
<Col xxl={4}>
<div>
<Col lg={4}>
<Row className={`${styles.left_side}`}>
<SearchInputComp
onChange={setTitle}
isClear={isClear}
isCleared={handleClearStatus}
></SearchInputComp>
<br />

<div className={`${styles.filter_label}`}>
Filtern nach Thema:<br></br>
<SelectComp
Expand All @@ -169,10 +168,10 @@ const Projects = () => {
isCleared={handleClearStatus}
></SelectComp>
</div>
</div>
</Row>
</Col>

<Col xxl={8} xl={12}>
<Col lg={8}>
<div
className={`${styles.container}
${result.length == projects.data.length ? "" : styles.withbtn}
Expand Down
19 changes: 7 additions & 12 deletions src/pages/Projects/projects.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,29 +87,22 @@
padding-left: 0px;
}

input[type=text] {
border: none;
border-bottom: 1px solid #936464;
height: 47px;
.left_side {
max-width: 390px;
width: 100%;
font-size: 24px;
font-family: 'Karla', sans-serif;
font-weight: 300;
color: #525151;
}

input[type=text]:focus {
outline: none;
margin: 0px;
}

.search_label {
margin-bottom: 79px;
width: 100%;
}

.clear_input_container {
position: relative;
display: inline-block;
border-bottom: 1px solid #936464;
width: 100%;
}

.clear_search {
Expand Down Expand Up @@ -141,6 +134,8 @@ input[type=text]:focus {
font-weight: 600;
text-align: left;
margin-bottom: 40px;
padding-left: 0px;
padding-right: 0px;
}

.filter_list {
Expand Down

0 comments on commit e5d9ee4

Please sign in to comment.