<commit_before>room-width = 6578px
room-height = 1368px
wall-color = #dfdbd8
wall-height = 43.5%

#artwork-page[data-route-pending='view-in-room']
#artwork-page[data-route='view-in-room']
  // Fix position in place
  .artwork-detail
    position absolute
    z-index 1
    right 0
  // Toggle buttons
  .artwork-image-actions
  .artwork-view-in-room-link
    display none
  .artwork-exit-view-in-room-link
    display block

.artwork-view-in-room
  position fixed
  top 0
  right 0
  bottom 0
  left 0
  z-index 1
  &[data-state='in']
    .vir-room
      opacity 1
    #vir-artwork
      box-shadow 0 2px 5px rgba(0,0,0,0.4)

.view-in-room-close
  > i
    color #dfdbd8

.vir-room
  position absolute
  width room-width
  height room-height
  top 50%
  left 50%
  margin-top -(room-height / 2)
  margin-left -(room-width / 2)
  background wall-color url('https://d1ycxz9plii3tb.cloudfront.net/misc/room.jpg') bottom center no-repeat
  transition opacity 0.5s
  opacity 0

#vir-placeholder
#vir-artwork
  position fixed
  z-index 2

#vir-placeholder
  left 50%
  visibility hidden

#vir-artwork
  &.is-transition
    transition all 0.75s
  &.is-notransition
    transition none
<commit_msg>Fix view in room scrolling.<commit_after>room-width = 6578px
room-height = 1368px
wall-color = #dfdbd8
wall-height = 43.5%

#artwork-page[data-route-pending='view-in-room']
#artwork-page[data-route='view-in-room']
  // Fix position in place
  .artwork-detail
    position absolute
    z-index 1
    right 0
  // Toggle buttons and additional information
  .artwork-image-actions
  .artwork-view-in-room-link
  .artwork-related-information
  #artwork-related-show-section
  #artwork-below-the-fold-section
    display none
  #artist-artworks-section
    display none !important
  .artwork-exit-view-in-room-link
    display block

.artwork-view-in-room
  position fixed
  top 0
  right 0
  bottom 0
  left 0
  z-index 1
  &[data-state='in']
    .vir-room
      opacity 1
    #vir-artwork
      box-shadow 0 2px 5px rgba(0,0,0,0.4)

.view-in-room-close
  > i
    color #dfdbd8

.vir-room
  position absolute
  width room-width
  height room-height
  top 50%
  left 50%
  margin-top -(room-height / 2)
  margin-left -(room-width / 2)
  background wall-color url('https://d1ycxz9plii3tb.cloudfront.net/misc/room.jpg') bottom center no-repeat
  transition opacity 0.5s
  opacity 0

#vir-placeholder
#vir-artwork
  position fixed
  z-index 2

#vir-placeholder
  left 50%
  visibility hidden

#vir-artwork
  &.is-transition
    transition all 0.75s
  &.is-notransition
    transition none

{'fraction_non_alphanumeric': 0.11162971606378841, 'fraction_numerical': 0.036561649163749516, 'mean_word_length': 2.8502994011976046, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3508514', 'n_tokens_mistral': 1023, 'n_tokens_neox': 944, 'n_words': 222}