Mappings first menu item now
This commit is contained in:
@ -18,16 +18,16 @@ component EditorTabs(url string)
|
|||||||
Tab("Editor", "pencil", "/editor")
|
Tab("Editor", "pencil", "/editor")
|
||||||
Tab("MAL", "exchange", "/editor/maldiff/anime")
|
Tab("MAL", "exchange", "/editor/maldiff/anime")
|
||||||
Tab("Kitsu", "exchange", "/editor/kitsu/new/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("Companies", "building", "/editor/companies/description")
|
||||||
Tab("Search", "search", "/database")
|
Tab("Search", "search", "/database")
|
||||||
|
|
||||||
if strings.Contains(url, "/editor/anime/")
|
if strings.Contains(url, "/editor/anime/")
|
||||||
.tabs
|
.tabs
|
||||||
|
Tab("Mappings", "arrows-h", "/editor/anime/mapping/mal")
|
||||||
Tab("Synopsis", "align-left", "/editor/anime/synopsis")
|
Tab("Synopsis", "align-left", "/editor/anime/synopsis")
|
||||||
Tab("Genres", "clone", "/editor/anime/genres")
|
Tab("Genres", "clone", "/editor/anime/genres")
|
||||||
Tab("Start date", "calendar", "/editor/anime/startdate")
|
Tab("Start date", "calendar", "/editor/anime/startdate")
|
||||||
Tab("Mappings", "arrows-h", "/editor/anime/mapping/mal")
|
|
||||||
Tab("Images", "image", "/editor/anime/image/lowres")
|
Tab("Images", "image", "/editor/anime/image/lowres")
|
||||||
|
|
||||||
if strings.Contains(url, "/editor/anime/mapping/")
|
if strings.Contains(url, "/editor/anime/mapping/")
|
||||||
|
@ -8,6 +8,7 @@ mixin grid-cell
|
|||||||
width anime-image-medium-width
|
width anime-image-medium-width
|
||||||
height anime-image-medium-height
|
height anime-image-medium-height
|
||||||
max-width anime-image-medium-width
|
max-width anime-image-medium-width
|
||||||
|
max-height anime-image-medium-height
|
||||||
// min-width 90px
|
// min-width 90px
|
||||||
// min-height 127px
|
// min-height 127px
|
||||||
border-radius 3px
|
border-radius 3px
|
||||||
|
@ -67,8 +67,9 @@ mixin anime-mini-item-image
|
|||||||
height anime-image-small-height !important
|
height anime-image-small-height !important
|
||||||
anime-generic-item-image
|
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-width anime-image-small-width
|
||||||
|
max-height anime-image-small-height
|
||||||
|
|
||||||
mixin anime-list-item-image
|
mixin anime-list-item-image
|
||||||
width anime-image-tiny-width
|
width anime-image-tiny-width
|
||||||
@ -76,8 +77,9 @@ mixin anime-list-item-image
|
|||||||
border-radius 2px
|
border-radius 2px
|
||||||
object-fit cover
|
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-width anime-image-tiny-width
|
||||||
|
max-height anime-image-tiny-height
|
||||||
|
|
||||||
mixin sidebar
|
mixin sidebar
|
||||||
vertical
|
vertical
|
||||||
|
Reference in New Issue
Block a user