Skip to content

Commit 1bee36e

Browse files
damienalexandrelinawolf
authored andcommitted
[FIX] Make the input grow to all the available space in search panel
1 parent 56fc37c commit 1bee36e

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

packages/typo3-docs-theme/assets/sass/components/_search.scss

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@
7979
border: none;
8080
background: transparent;
8181
padding: 0;
82-
82+
flex-grow: 1;
83+
8384
&:focus {
8485
outline: none;
8586
box-shadow: none;
@@ -94,7 +95,7 @@
9495
color: #6c757d;
9596
cursor: pointer;
9697
padding: 0.25rem;
97-
98+
9899
&:hover {
99100
color: #343a40;
100101
}
@@ -114,7 +115,7 @@
114115

115116
&__section {
116117
margin-bottom: .5rem;
117-
118+
118119
&:last-child {
119120
margin-bottom: 0;
120121
}
@@ -140,19 +141,19 @@
140141
justify-content: center;
141142
padding: 3rem 1rem;
142143
color: #6c757d;
143-
144+
144145
.search-modal__spinner {
145146
font-size: 2rem;
146147
margin-bottom: 1rem;
147148
color: $primary;
148149
}
149-
150+
150151
p {
151152
margin: 0;
152153
font-size: 1rem;
153154
}
154155
}
155-
}
156+
}
156157

157158
.suggest-row {
158159
display: flex;
@@ -245,4 +246,4 @@
245246
ul {
246247
margin: 0;
247248
}
248-
}
249+
}

packages/typo3-docs-theme/resources/public/css/theme.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27183,6 +27183,7 @@ figure.uml-diagram {
2718327183
border: none;
2718427184
background: transparent;
2718527185
padding: 0;
27186+
flex-grow: 1;
2718627187
}
2718727188
.search-modal__input:focus {
2718827189
outline: none;

0 commit comments

Comments
 (0)