Commit ·
e8771b6
1
Parent(s): 72b0d5f
not green
Browse files
app.py
CHANGED
|
@@ -140,24 +140,14 @@ with gr.Blocks(title="DeepV for RTL (Model-Agnostic)", theme=gr.themes.Soft()) a
|
|
| 140 |
)
|
| 141 |
|
| 142 |
demo.css = """
|
| 143 |
-
/* Ensure the label wrapping the textbox has relative positioning for z-index context */
|
| 144 |
#verilog-output > label > .label-wrap {
|
| 145 |
position: relative;
|
| 146 |
-
z-index: 1; /* Give it a stacking context */
|
| 147 |
}
|
| 148 |
-
|
| 149 |
#copy-button {
|
| 150 |
position: absolute;
|
| 151 |
top: 20px;
|
| 152 |
right: 10px;
|
| 153 |
-
|
| 154 |
-
z-index: 1000;
|
| 155 |
-
|
| 156 |
-
background-color: #4CAF50; /* A modern green */
|
| 157 |
-
color: white; /* White text */
|
| 158 |
-
border-radius: 5px; /* Slightly rounded corners */
|
| 159 |
-
border: none; /* Remove border */
|
| 160 |
-
box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Subtle shadow for depth */
|
| 161 |
}
|
| 162 |
"""
|
| 163 |
|
|
|
|
| 140 |
)
|
| 141 |
|
| 142 |
demo.css = """
|
|
|
|
| 143 |
#verilog-output > label > .label-wrap {
|
| 144 |
position: relative;
|
|
|
|
| 145 |
}
|
|
|
|
| 146 |
#copy-button {
|
| 147 |
position: absolute;
|
| 148 |
top: 20px;
|
| 149 |
right: 10px;
|
| 150 |
+
z-index: 10;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 151 |
}
|
| 152 |
"""
|
| 153 |
|