diff --git a/pd/nw/css/default.css b/pd/nw/css/default.css
index 17ba56b1e55a77349aec3c95f9bd642c80e931ba..5444c43ccb5aacca5e8ab2fb4454b846e0490fcd 100644
--- a/pd/nw/css/default.css
+++ b/pd/nw/css/default.css
@@ -566,8 +566,7 @@ div.y2 {
     height: 78vh;
 }
 
-.audio_dev_settings {
-    padding-bottom: 8px;
+.tab_settings {
     padding-top: 8px;
 }
 
diff --git a/pd/nw/dialog_prefs.html b/pd/nw/dialog_prefs.html
index 678485ee1fd52613f6c33ed5cf0670fa15a99d25..c36c83f8aefe8651fe4002f59448874dbe4e3435 100644
--- a/pd/nw/dialog_prefs.html
+++ b/pd/nw/dialog_prefs.html
@@ -32,7 +32,7 @@
         </label>
 
         <div class="tab1">
-          <div class="audio_dev_settings">
+          <div class="tab_settings">
             <label data-i18n="[title]prefs.audio.api_tt">
               <span data-i18n="prefs.audio.api"></span>
               <select id="audio_api" onchange="change_api(this);">
@@ -47,7 +47,7 @@
                      onchange="attr_change(this);">
             </label>
           </div>
-          <div class="audio_dev_settings">
+          <div class="tab_settings">
             <label data-i18n="[title]prefs.audio.blocksize_tt">
               <span data-i18n="prefs.audio.blocksize"></span>
               <select id="blocksize"
@@ -68,7 +68,7 @@
                      onchange="attr_change(this);">
             </label>
           </div>
-          <div class="audio_dev_settings">
+          <div class="tab_settings">
             <span id="callback_container" class="hidden">
               <label data-i18n="[title]prefs.audio.callback_tt">
                 <span data-i18n="prefs.audio.callback"></span>
@@ -207,8 +207,7 @@
         </div>
 
         <div class="tab2">
-
-          <div class="audio_dev_settings">
+          <div class="tab_settings">
             <label data-i18n="[title]prefs.midi.api_tt">
               <span data-i18n="prefs.midi.api"></span>
               <select id="midi_api" onchange="change_api(this);">
@@ -236,7 +235,7 @@
         </div>
 
         <div class="tab3">
-          <div class="audio_dev_settings">
+          <div class="tab_settings">
             <label data-i18n="[title]prefs.gui.presets.gui_preset_tt">
               <span data-i18n="prefs.gui.presets.gui_preset"></span>
             </label>