Skip to content

Commit c612a6a

Browse files
authored
crate/settings: Improve "Trusted Publishing" section styling on mobile devices (#11538)
1 parent 54e756f commit c612a6a

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

app/styles/crate/settings/index.module.css

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,37 @@
7272
.actions {
7373
text-align: right;
7474
}
75+
76+
@media only screen and (max-width: 550px) {
77+
thead {
78+
display: none;
79+
}
80+
81+
tbody > tr > td:first-child {
82+
padding-bottom: 0;
83+
}
84+
85+
tbody > tr:not(:first-child) > td:first-child {
86+
border-top: 1px solid light-dark(hsla(51, 90%, 42%, .25), #232321);
87+
}
88+
89+
tbody > tr > td {
90+
border: none;
91+
}
92+
93+
td {
94+
display: block;
95+
width: 100%;
96+
}
97+
98+
.details {
99+
padding-bottom: 0;
100+
}
101+
102+
.actions {
103+
text-align: left;
104+
}
105+
}
75106
}
76107

77108
.email-column {

0 commit comments

Comments
 (0)