We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20e1a07 commit 5cc2009Copy full SHA for 5cc2009
static/css/styles.css
@@ -303,12 +303,18 @@ form#lock-form {
303
display: block;
304
margin: 0 auto calc(var(--padding) * 6) auto;
305
width: 100%;
306
- aspect-ratio: 1 / 1;
307
- object-fit: cover;
+ height: 264px; /* same as usual form width */
308
border-radius: 50%;
309
background-color: var(--bg-color-darken-strong);
310
}
311
+@supports (aspect-ratio: 1 / 1) { /* not supported by web-greeter, only nody-greeter */
312
+ #active-user-session-avatar {
313
+ width: auto; /* let aspect-ratio do the work */
314
+ aspect-ratio: 1 / 1;
315
+ }
316
+}
317
+
318
/* user display name, "reserved for exam" text */
319
form h3 {
320
font-weight: bold;
0 commit comments