feat(core): use relative unit for search suggestion

This commit is contained in:
alistair3149 2022-05-10 22:05:42 -04:00
parent 22450c4804
commit 7ff415db13
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C

View file

@ -8,8 +8,8 @@
width: 100%;
max-height: ~'calc( 100vh - var( --height-header ) )';
box-sizing: border-box;
padding-top: 12px;
margin-top: -12px;
padding-top: 0.75rem;
margin-top: -0.75rem;
//border-radius: 0 0 var( --border-radius--medium ) var( --border-radius--medium );
.citizen-card;
.citizen-card-hide( 50% 0, Y );
@ -17,8 +17,8 @@
.citizen-card-transition();
&-suggestion {
padding-top: 6px;
padding-bottom: 6px;
padding-top: 0.375rem;
padding-bottom: 0.375rem;
opacity: 0;
&__thumbnail {
@ -65,7 +65,7 @@
padding-bottom: var( --border-radius--large );
border-top: 1px solid var( --border-color-base );
border-radius: 0 0 var( --border-radius--large ) var( --border-radius--large );
font-size: @content-monospace-size;
font-size: 0.8125rem;
font-weight: 450;
&__icon {
@ -88,15 +88,15 @@
a {
display: flex;
align-items: center;
padding-right: 12px;
padding-left: 12px;
padding-right: 0.75rem;
padding-left: 0.75rem;
color: var( --color-base );
}
picture {
width: 100%;
max-width: 70px;
margin-right: 12px;
margin-right: 0.75rem;
img,
source {