generated from Seekra/repository-template
Fix search bar input field height #36 #38
@@ -8,15 +8,15 @@
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
.search-wrapper {
|
.search-wrapper {
|
||||||
--submit-button-padding-y: 8px;
|
--submit-button-padding-y: 8px;
|
||||||
--submit-button-content-height: 32px;
|
--content-height: 32px;
|
||||||
--padding: 4px;
|
--padding: 4px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border: 1.5px solid #ccc;
|
border: 1.5px solid #ccc;
|
||||||
box-shadow: 0 0px 32px rgba(69, 98, 190, 0.25);
|
box-shadow: 0 0px 32px rgba(69, 98, 190, 0.25);
|
||||||
border-radius: calc(var(--submit-button-content-height) * 0.5 + var(--submit-button-padding-y) + var(--padding));
|
border-radius: calc(var(--content-height) * 0.5 + var(--submit-button-padding-y) + var(--padding));
|
||||||
padding: var(--padding);
|
padding: var(--padding);
|
||||||
padding-left: calc(var(--submit-button-content-height) + var(--padding));
|
padding-left: calc(var(--content-height) + var(--padding));
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -30,8 +30,8 @@
|
|||||||
|
|
||||||
.search-button {
|
.search-button {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
height: calc(var(--submit-button-content-height) + 2 * var(--submit-button-padding-y));
|
height: calc(var(--content-height) + 2 * var(--submit-button-padding-y));
|
||||||
border-radius: calc(var(--submit-button-content-height) * 0.5 + var(--submit-button-padding-y));
|
border-radius: calc(var(--content-height) * 0.5 + var(--submit-button-padding-y));
|
||||||
border: none;
|
border: none;
|
||||||
padding: var(--submit-button-padding-y) 20px;
|
padding: var(--submit-button-padding-y) 20px;
|
||||||
background: #4562BE;
|
background: #4562BE;
|
||||||
|
|||||||
Reference in New Issue
Block a user