Mappings first menu item now

This commit is contained in:
Eduard Urbach 2018-03-22 22:41:45 +01:00
parent 6c2e9e2b64
commit ca7bedfa0a
3 changed files with 7 additions and 4 deletions

View File

@ -18,16 +18,16 @@ component EditorTabs(url string)
Tab("Editor", "pencil", "/editor")
Tab("MAL", "exchange", "/editor/maldiff/anime")
Tab("Kitsu", "exchange", "/editor/kitsu/new/anime")
Tab("Anime", "tv", "/editor/anime/synopsis")
Tab("Anime", "tv", "/editor/anime/mapping/mal")
Tab("Companies", "building", "/editor/companies/description")
Tab("Search", "search", "/database")
if strings.Contains(url, "/editor/anime/")
.tabs
Tab("Mappings", "arrows-h", "/editor/anime/mapping/mal")
Tab("Synopsis", "align-left", "/editor/anime/synopsis")
Tab("Genres", "clone", "/editor/anime/genres")
Tab("Start date", "calendar", "/editor/anime/startdate")
Tab("Mappings", "arrows-h", "/editor/anime/mapping/mal")
Tab("Images", "image", "/editor/anime/image/lowres")
if strings.Contains(url, "/editor/anime/mapping/")

View File

@ -8,6 +8,7 @@ mixin grid-cell
width anime-image-medium-width
height anime-image-medium-height
max-width anime-image-medium-width
max-height anime-image-medium-height
// min-width 90px
// min-height 127px
border-radius 3px

View File

@ -67,8 +67,9 @@ mixin anime-mini-item-image
height anime-image-small-height !important
anime-generic-item-image
// Make it easier for the browser to layout by specifying max-width as well
// Make it easier for the browser to layout by specifying max size as well
max-width anime-image-small-width
max-height anime-image-small-height
mixin anime-list-item-image
width anime-image-tiny-width
@ -76,8 +77,9 @@ mixin anime-list-item-image
border-radius 2px
object-fit cover
// Make it easier for the browser to layout by specifying max-width as well
// Make it easier for the browser to layout by specifying max size as well
max-width anime-image-tiny-width
max-height anime-image-tiny-height
mixin sidebar
vertical