UNPKG

@finos/perspective-viewer

Version:

The `<perspective-viewer>` Custom Element, frontend for Perspective.js

28 lines (25 loc) 684 B
/****************************************************************************** * * Copyright (c) 2017, the Perspective Authors. * * This file is part of the Perspective library, distributed under the terms of * the Apache License 2.0. The full license can be found in the LICENSE file. * */ :host { .dropdown-width-container { position: relative; flex: 1 1 auto; &:after { content: attr(data-value) " "; visibility: hidden; white-space: nowrap; padding-right: 17px; } select { position: absolute; width: 100%; cursor: pointer; } } }