helmfridsson commited on
Commit
7dfbbce
·
verified ·
1 Parent(s): b7d4372

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +25 -2
style.css CHANGED
@@ -71,12 +71,35 @@ h2, h3, h4, p, span, label, li {
71
  .brain-icon img {
72
  width: 100px;
73
  height: auto;
74
- pointer-events: none;
75
- user-select: none;
76
  display: block;
77
  margin: 0 auto;
78
  }
79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  /* ===============================
81
  TOP HEADER – BRAIN IMAGE
82
  =============================== */
 
71
  .brain-icon img {
72
  width: 100px;
73
  height: auto;
74
+ pointer-events: none; !important;
75
+ user-select: none; !important;
76
  display: block;
77
  margin: 0 auto;
78
  }
79
 
80
+
81
+ /* ===============================
82
+ TA BORT GRADIO IMAGE TOOLBAR
83
+ =============================== */
84
+
85
+ /* Själva toolbaren */
86
+ .brain-icon .image-toolbar {
87
+ display: none !important;
88
+ }
89
+
90
+ /* Alla toolbar-knappar (säkerhetsnät) */
91
+ .brain-icon button,
92
+ .brain-icon [role="toolbar"] {
93
+ display: none !important;
94
+ }
95
+
96
+ /* Se till att bilden inte är klickbar */
97
+ .brain-icon img {
98
+ pointer-events: none;
99
+ user-select: none;
100
+ }
101
+
102
+
103
  /* ===============================
104
  TOP HEADER – BRAIN IMAGE
105
  =============================== */