diff --git a/public/css/styles.css b/public/css/styles.css index 24c115f3..4bdc75b5 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1122,20 +1122,33 @@ input[type="url"], .Event__dictionaryWordsTitle { margin-top: 0; + font-size: 1rem; +} + +.Event__dictionaryWords__wrap { + overflow-x: auto; + display: flex; + gap: var(--default-margin-double); + scroll-snap-type: x mandatory; +} + +.Event__dictionaryWords__wrap > * { + flex: 1 0 65%; + scroll-snap-align: start; } .Event__dictionaryWord { - float: left; - width: 48%; + /* float: left; + width: 48%; */ } -.Event__dictionaryWord:nth-child(2n + 1) { +/* .Event__dictionaryWord:nth-child(2n + 1) { float: right; } .Event__dictionaryWord:nth-child(2n + 2) { clear: both; -} +} */ .Event__dictionaryDictionaryLink { overflow: auto; @@ -1150,10 +1163,13 @@ input[type="url"], .Event__dictionaryWordTitle { margin-top: 0; + display: inline; + font-size: inherit; + font-weight: bold; } -.Event__dictionaryWordTitle { - font-size: 1rem; +.Event__dictionaryWordDescription { + display: inline; } .Event__dictionaryWordDescription > p { diff --git a/resources/views/parts/crimeevent.blade.php b/resources/views/parts/crimeevent.blade.php index 725d2e6e..4282b649 100644 --- a/resources/views/parts/crimeevent.blade.php +++ b/resources/views/parts/crimeevent.blade.php @@ -155,18 +155,20 @@ class="Event__mapImage Event__mapImage--far" src="{{ $event->getStaticImageSrcFa