@@ -113,12 +113,19 @@ function hello_elementor_settings_page_footer() {
113
113
?>
114
114
<style>
115
115
#hello-elementor-notifications-dialog {
116
+ max-height: 80vh;
116
117
padding: 20px;
117
118
border: 1px solid #ccc;
118
119
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
119
120
}
120
121
#hello-elementor-notifications-dialog::backdrop {
121
- background: rgba(0, 0, 0, 0.5);
122
+ background-color: rgba(0, 0, 0, 0.5);
123
+ }
124
+ #hello-elementor-notifications-dialog h2 {
125
+ font-size: 1.5em;
126
+ }
127
+ #hello-elementor-notifications-dialog h3 {
128
+ font-size: 1.1em;
122
129
}
123
130
</style>
124
131
<script>
@@ -131,10 +138,10 @@ function hello_elementor_settings_page_footer() {
131
138
} );
132
139
} );
133
140
</script>
134
- <dialog id="hello-elementor-notifications-dialog">
135
- <h3 ><?php esc_html_e ( 'What \' s new : ' , 'hello-elementor ' ); ?> </h3 >
141
+ <dialog id="hello-elementor-notifications-dialog" aria-labelledby="hello-elementor-notifications-dialog-heading" >
142
+ <h2 id="hello-elementor-notifications-dialog-heading" ><?php esc_html_e ( 'Changelog : ' , 'hello-elementor ' ); ?> </h2 >
136
143
<?php foreach ( $ notifications as $ item ) : ?>
137
- <h4 ><?php echo esc_html ( $ item ['title ' ] ); ?> </h4 >
144
+ <h3 ><?php echo esc_html ( $ item ['title ' ] ); ?> </h3 >
138
145
<p><?php echo wp_kses_post ( $ item ['description ' ] ); ?> </p>
139
146
<?php endforeach ; ?>
140
147
<button class="close"><?php echo esc_html__ ( 'Close ' , 'hello-elementor ' ); ?> </button>
0 commit comments