-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[desk-tool] Improve margins of document form
- Loading branch information
1 parent
2eeebcc
commit cf86df4
Showing
1 changed file
with
15 additions
and
2 deletions.
There are no files selected for viewing
17 changes: 15 additions & 2 deletions
17
packages/@sanity/desk-tool/src/panes/documentPane/documentPanel/views/formView.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,25 @@ | ||
@import 'part:@sanity/base/theme/variables-style'; | ||
|
||
:root { | ||
--form-view-padding-bottom-small: 7.5em; | ||
--form-view-padding-bottom-medium: 15em; | ||
} | ||
|
||
.root { | ||
max-width: 640px; | ||
flex-grow: 1; | ||
margin: 0 auto; | ||
padding: var(--large-padding) var(--medium-padding) var(--extra-large-padding); | ||
padding: var(--large-padding) var(--medium-padding) var(--form-view-padding-bottom-small); | ||
|
||
@media (--screen-medium) { | ||
padding: var(--large-padding) var(--medium-padding) var(--form-view-padding-bottom-medium); | ||
} | ||
} | ||
|
||
.typeMisMatchMessage { | ||
padding: 10em 3em; | ||
padding: var(--large-padding) var(--medium-padding) var(--form-view-padding-bottom-small); | ||
|
||
@media (--screen-medium) { | ||
padding: var(--large-padding) var(--medium-padding) var(--form-view-padding-bottom-medium); | ||
} | ||
} |