style(slint/discover): enlarge Spotlight hero avatar to 140px
The Spotlight hero portrait was 96px; enlarge to 140px (border-radius 70px to stay circular) for parity with Tauri. Layout-safe: the inner Image is 100% image-fit:cover, the fallback glyph re-centers, the hero HorizontalLayout has no fixed height so it grows, and the page Flickable absorbs the vertical growth. cc
This commit is contained in:
1 file changed
+3
-3
@@ -77,9 +77,9 @@ export component Spotlight inherits VerticalLayout {
|
|||||||
spacing: 16px;
|
spacing: 16px;
|
||||||
alignment: start;
|
alignment: start;
|
||||||
Rectangle {
|
Rectangle {
|
||||||
width: 96px;
|
width: 140px;
|
||||||
height: 96px;
|
height: 140px;
|
||||||
border-radius: 48px;
|
border-radius: 70px;
|
||||||
background: Theme.surface-elevated;
|
background: Theme.surface-elevated;
|
||||||
clip: true;
|
clip: true;
|
||||||
Image {
|
Image {
|
||||||
|
|||||||
Reference in new issue
Block a user