diff options
author | Niels De Graef <nielsdegraef@gmail.com> | 2023-02-21 09:14:21 +0100 |
---|---|---|
committer | Niels De Graef <nielsdegraef@gmail.com> | 2023-02-24 15:51:01 +0100 |
commit | b01d3848fab5d487e2c159cec268ab661f4a7c2f (patch) | |
tree | 1d49bd5551586f9246fb8d55062e025ce27e0981 /data | |
parent | 0ba314a3b4383bd1210aba0a13d5684c3d162c39 (diff) | |
download | gnome-contacts-b01d3848fab5d487e2c159cec268ab661f4a7c2f.tar.gz |
sheet,editor: stack the name and avatar vertically
Fixes: https://gitlab.gnome.org/GNOME/gnome-contacts/-/issues/252
Diffstat (limited to 'data')
-rw-r--r-- | data/style.css | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/data/style.css b/data/style.css index 6593344..4c9efaa 100644 --- a/data/style.css +++ b/data/style.css @@ -43,7 +43,12 @@ .contacts-sheet-container, .contacts-contact-editor-container { - margin: 36px 12px 24px 12px; + margin: 24px 12px 24px 12px; +} + +.contacts-sheet-header, +.contacts-editor-header { + margin: 0 0 12px 0; } .contacts-sheet-property, @@ -57,10 +62,6 @@ .contacts-sheet { } -.contacts-sheet-header { - margin: 0 0 12px 0; -} - .contacts-sheet-property { } @@ -68,6 +69,12 @@ /* Contact Editor-related CSS classes */ /* ---------------------------------- */ +.contacts-editor-header-name { + /* The name in the sheet gets some margin from .title-1, + * so do something similar here to prevent the name "jumping" */ + margin: 6px 0; +} + /* Common class for all widgets editing a property */ .contacts-editor-property { } @@ -99,4 +106,3 @@ .favorite-button { font-weight: normal; } - |