Give Brīdinājumi chips a hover-expanding severity capsule
This commit is contained in:
@@ -129,8 +129,8 @@ export function Warnings() {
|
||||
|
||||
<Show when={filteredWarnings().length > 0}><div class="warningSummary"><For each={filteredWarnings()}>{warning =>
|
||||
<button type="button" class={`warningCard ${warningSeverity(warning.intensity)}`} classList={{ active: warning.id === selectedId() }} aria-pressed={warning.id === selectedId()} onClick={() => openWarning(warning.id)}>
|
||||
<PhenomenonIcon phenomenon={warning.phenomenon}/>
|
||||
<strong>{warning.phenomenon || 'Brīdinājums'}</strong>
|
||||
<span class="warningCardIcon"><PhenomenonIcon phenomenon={warning.phenomenon}/></span>
|
||||
<span class="warningCardText">{warning.phenomenon || 'Brīdinājums'}</span>
|
||||
</button>
|
||||
}</For></div></Show>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user