Skip to content

Commit 6bc7de0

Browse files
committed
frontend: allow settings item layout to expand
If there is a lot of content settings item height should adjust to the content, example 'Root fingerprint' on medium and large screen where there is a long description.
1 parent 3f2fdd2 commit 6bc7de0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

frontends/web/src/routes/settings/components/settingsItem/settingsItem.module.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.container {
2-
height: var(--item-height-xlarge);
2+
min-height: var(--item-height-xlarge);
33
width: 100%;
44
min-width: 230px;
55
display: flex;
@@ -62,9 +62,9 @@
6262

6363
@media (max-width: 768px) {
6464
.container {
65-
height: auto;
66-
margin-bottom: 5px;
67-
min-width: 100%;
65+
min-height: auto;
66+
margin-bottom: 5px;
67+
min-width: 100%;
6868
}
6969

7070
.secondaryText {

0 commit comments

Comments
 (0)