Refactor thumbnail sizing.
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
@use "const.scss";
|
||||
|
||||
:host {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@@ -7,6 +5,11 @@
|
||||
|
||||
// Ensure control icons are relative to the thumbnail.
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
:host(:not([details])) {
|
||||
aspect-ratio: 1 / 1;
|
||||
}
|
||||
|
||||
:host([details]) {
|
||||
|
||||
Reference in New Issue
Block a user