Starchik1 commited on
Commit
0425543
·
verified ·
1 Parent(s): 358f1dc

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -141,7 +141,7 @@ def proxy(path):
141
  button['target'] = '_blank'
142
  button['class'] = 'open-image-btn'
143
  button.string = 'Открыть оригинал изображения'
144
- button['style'] = 'display: flex; align-items: center; justify-content: center; min-height: 40px; margin: 10px; padding: 8px 15px; background-color: #4a90e2; border: none; border-radius: 4px; text-decoration: none; color: white; font-weight: 500; transition: all 0.3s ease; box-shadow: 0 2px 4px rgba(0,0,0,0.1); text-align: center; line-height: 1.2;'
145
  img.insert_after(button)
146
 
147
  # Add modal container for fullscreen image view
 
141
  button['target'] = '_blank'
142
  button['class'] = 'open-image-btn'
143
  button.string = 'Открыть оригинал изображения'
144
+ button['style'] = 'display: flex; align-items: center; justify-content: center; min-height: 40px; min-width: 200px; margin: 10px; padding: 12px 20px; background-color: #4a90e2; border: none; border-radius: 4px; text-decoration: none; color: white; font-weight: 500; transition: all 0.3s ease; box-shadow: 0 2px 4px rgba(0,0,0,0.1); text-align: center; line-height: 1.2; width: 100%;'
145
  img.insert_after(button)
146
 
147
  # Add modal container for fullscreen image view