Skip to content

Commit 74ca986

Browse files
Merge pull request #564 from scidsg/field-layout
Field layout
2 parents d9789d5 + ff63dad commit 74ca986

File tree

2 files changed

+28
-23
lines changed

2 files changed

+28
-23
lines changed

hushline/static/css/style.css

Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1771,21 +1771,6 @@ input#captcha_answer {
17711771
margin-bottom: 1rem;
17721772
}
17731773

1774-
.icon.verifiedURL {
1775-
width: 20px;
1776-
height: 20px;
1777-
display: flex;
1778-
background-size: contain;
1779-
position: absolute;
1780-
left: 0;
1781-
top: 0;
1782-
}
1783-
1784-
.extra-field-value .icon.verifiedURL + a,
1785-
.extra-field-value .icon.verifiedURL + span {
1786-
padding-left: 1.5rem;
1787-
}
1788-
17891774
@media only screen and (max-width: 768px) {
17901775
.container {
17911776
min-width: initial;
@@ -2010,13 +1995,13 @@ p.bio + .extra-fields {
20101995
flex-direction: row;
20111996
margin-top: 0.5rem;
20121997
margin-bottom: 0.75rem;
2013-
gap: 0.25rem 2rem;
1998+
gap: 0.8125rem 2rem;
20141999
}
20152000

20162001
.extra-field {
20172002
margin: 0;
20182003
flex: 1;
2019-
flex-direction: row;
2004+
flex-direction: column;
20202005
display: flex;
20212006
min-width: 45%;
20222007
}
@@ -2028,11 +2013,8 @@ p.bio + .extra-fields {
20282013
overflow: hidden;
20292014
text-overflow: ellipsis;
20302015
font-family: var(--font-sans-bold);
2031-
font-size: var(--font-size-small);
2032-
margin-bottom: 0.25rem;
2033-
max-width: 68px;
2034-
width: 100%;
2035-
min-width: 54px;
2016+
font-size: calc(var(--font-size-small) * 0.975);
2017+
margin-bottom: 0.125rem;
20362018
}
20372019

20382020
.extra-fields .extra-field-value {
@@ -2043,6 +2025,29 @@ p.bio + .extra-fields {
20432025
position: relative;
20442026
}
20452027

2028+
.icon.verifiedURL {
2029+
width: 20px;
2030+
height: 20px;
2031+
display: flex;
2032+
background-size: contain;
2033+
position: absolute;
2034+
left: 0;
2035+
top: 0;
2036+
}
2037+
2038+
.extra-fields .extra-field-value .icon {
2039+
position: absolute;
2040+
left: 0;
2041+
top: 50%;
2042+
transform: translateY(-50%);
2043+
z-index: 1;
2044+
}
2045+
2046+
.extra-field-value .icon.verifiedURL + a,
2047+
.extra-field-value .icon.verifiedURL + span {
2048+
padding-left: 1.5rem;
2049+
}
2050+
20462051
.pgp-disabled-overlay {
20472052
position: absolute;
20482053
top: 0;

hushline/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.2.11"
1+
__version__ = "0.2.12"

0 commit comments

Comments
 (0)