Admin css tweaks
This commit is contained in:
parent
2323781b32
commit
bc793f5b72
2 changed files with 22 additions and 0 deletions
21
public/admin/admin.css
Normal file
21
public/admin/admin.css
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
/* Admin tweaks 1.0.2 */
|
||||
.nc-mediaLibrary-cardImage {
|
||||
object-fit: contain;
|
||||
height: auto;
|
||||
width: auto;
|
||||
object-position: center;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
.nc-mediaLibrary-cardImage-container {
|
||||
height: 160px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.nc-imageControl-imageWrapper img {
|
||||
object-fit: contain;
|
||||
object-position: center;
|
||||
}
|
||||
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
<!-- Include the styles for the Netlify CMS UI, after your own styles -->
|
||||
<link rel="stylesheet" href="https://unpkg.com/netlify-cms/dist/cms.css" />
|
||||
<link rel="stylesheet" href="admin.css" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue