Make VSF list card form markup strict 1:1 with interactive elements
This commit is contained in:
@@ -5,25 +5,6 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Styleguide – Layout VSF List Card</title>
|
||||
<link rel="stylesheet" href="../styleguide.css">
|
||||
<style>
|
||||
#layout-vsf-list-card .sg-form-sections-card__field-group .sg-labeled-input-row {
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
#layout-vsf-list-card .sg-labeled-input-row .sg-pulldown,
|
||||
#layout-vsf-list-card .sg-labeled-input-row .sg-pulldown-demo {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
max-width: var(--layout-input-field-max-width);
|
||||
}
|
||||
|
||||
#layout-vsf-list-card .sg-pulldown-demo__trigger {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
max-width: var(--layout-input-field-max-width);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -44,18 +25,18 @@
|
||||
<div class="sg-form-sections-card__field-group">
|
||||
<label class="sg-labeled-input-row">
|
||||
<span class="sg-label">Listentyp</span>
|
||||
<span class="sg-pulldown-demo" data-open="false" data-align="left" data-selection-mode="single" data-component="pulldown" data-component-context="form" data-component-state="inactive-selectable">
|
||||
<div class="sg-pulldown-demo" data-open="false" data-align="left" data-selection-mode="single" data-component="pulldown" data-component-context="form" data-component-state="inactive-selectable">
|
||||
<button class="sg-interaction-element sg-pulldown sg-pulldown--inactive-selectable sg-form-inactive-selectable sg-pulldown-demo__trigger" type="button" aria-expanded="false" aria-label="Pulldown ohne aktive Auswahl" data-component-part="pulldown-trigger" data-label-base="Listentyp">
|
||||
Listentyp
|
||||
</button>
|
||||
<span class="sg-pulldown-panel" aria-label="Geoeffnetes Pulldown Listentyp" data-component-part="pulldown-panel">
|
||||
<div class="sg-pulldown-panel" aria-label="Geoeffnetes Pulldown Listentyp" data-component-part="pulldown-panel">
|
||||
<ul class="sg-pulldown-option-list" aria-label="Listentyp Optionen">
|
||||
<li class="sg-pulldown-option" role="checkbox" aria-checked="false" data-pulldown-option><span>Watchlist</span></li>
|
||||
<li class="sg-pulldown-option" role="checkbox" aria-checked="false" data-pulldown-option><span>Portfolio</span></li>
|
||||
<li class="sg-pulldown-option" role="checkbox" aria-checked="false" data-pulldown-option><span>Screening</span></li>
|
||||
</ul>
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</label>
|
||||
|
||||
<label class="sg-labeled-input-row">
|
||||
|
||||
Reference in New Issue
Block a user