verbb / navigation

A Craft CMS plugin to create navigation menus for your site.
Other
90 stars 23 forks source link

NodeTypes with long displayName breaks the node type label in the navigation table UI #169

Closed loweoj closed 4 years ago

loweoj commented 4 years ago

Description

Adding a custom node type with a long display name results in the node type label splitting over multiple lines which doesn't look great.

The issue is this css with a fixed width:

.nav-builder .node-type {
    float: right;
    width: 80px;
    font-size: 12px;
    text-transform: lowercase;
    padding: 6px 7px;
    cursor: default;
}

Steps to reproduce

  1. Create a new custom node type with a long displayName "This Node Type Has a Long Title"
  2. Add a new Node of the custom node type and notice the multi-line label

Additional info

engram-design commented 4 years ago

Fixed in 1.3.22